View Single Post
Old 10-07-2016, 08:00 AM   #3
duckpuppy
Junior Member
duckpuppy began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: Android, various
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.

This hasn't been an issue for me since I started using Calibre Companion early on - once wireless device connection was available, that's all I used (along with the reading list plugin and some custom tags to auto-sync on connection).

Others in my household are now using calibre, and they're not using a wireless device connection - that would mean leaving calibre running and giving them access to my PC. I have calibre-server running on a small PC with a copy of my library for them to access. That's how I ran into this - I was configuring several devices and noticed that it could connect without the "/calibre" and even authenticate, it just obviously couldn't get the opds catalog at "/opds". Then I used curl to grab the root page ("curl --digest -u <username> http://<my-ip>:8080") and got the full HTML for the home page.

Since that works, there's the possibility of auto-configuring CC even with a url-prefix by grabbing the proper opds URL at runtime.

Last edited by duckpuppy; 10-07-2016 at 08:10 AM.
duckpuppy is offline   Reply With Quote