View Single Post
Old 01-31-2012, 03:29 PM   #2
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Of course I would spend forever on this and then figure it out right after I post. Calibre's Javascript calls use root urls, such as "/browse", and while the Rewrite rules can modify those in the HTML code, they can't modify the JS variables.

Therefore, for anyone trying this, you can't set up an "https://site.com/calibre" wrapper to "http://localhost:7070". It can only be "https://calibre.site.com/". Since Kindles require a validated cert, you would have to get a separate cert specific to that hostname.

I'm going to guess there's no chance of getting a setting added into the interface to specify a directory to run calibre in? Such as setting it to "foldername" would make calibre host in "http://localhost:7070/foldername".

Thanks!
Ben
Fmstrat is offline   Reply With Quote