View Single Post
Old 11-07-2008, 11:00 AM   #8
Cold
Junior Member
Cold began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2008
Device: prs505
Really liking this feature

I run Calibre on a machine inside my home network and I have an Apache server on the edge of the network. I serve all the internal applications I use (Well, those with web interfaces) to the outside using this server via mod_proxy and mod_proxy_html (if required).

Calibres new web UI *nearly* works with this out of the box.

The issue I have is the gui.js file has references to /library and /get (The ajax calls for data) ... and I can't easily rewrite those.

Would you consider changing gui.js so that it's aware of the path it's been served from and sticks that in front of those two URIs?

Maybe using something like:

Code:
path = self.location.pathname.substring(0,self.location.pathname.lastIndexOf('/')));
Cold is offline   Reply With Quote