View Single Post
Old 10-07-2016, 08:08 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,455
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by duckpuppy View Post
Not so - the root URL still works, even with the url-prefix set. I can go to "http://<my-ip>:8080" and see the main home page. All the links on the page link to "http://<my-ip>:8080/calibre/<subpage>". I can also get the homepage at "http://<my-ip>:8080/calibre", and that's in fact what the "Home" link on the main page links to.
Well, it doesn't work for me. I run calibre behind apache in reverse proxy mode, which means that calibre doesn't see anything if the url doesn't have the prefix. The IP address gets the main page for the virtual host. Supporting reverse proxy is why the url-prefix was added.

Why are you using a url-prefix when calibre is listening directly to the IP address?

In any event, supporting the use case of calibre directly listening to an IP but having a url-prefix isn't worth it for me. I suspect that you might be the only CC user who would use it.
chaley is offline   Reply With Quote