View Single Post
Old 05-28-2016, 11:38 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Again: if you have a dedicated VirtualHost (which you do ) then:
  • use ProxyPass (which you are, so good )
but do NOT use:
...

--url-prefix means calibre-server expects all internal urls to appear in http://www.dom134.com/calibre, which is useful in the event that the same server is serving something else in another directory.
Using it means you need to use a RewriteRule to redirect only those subdirectory urls to calibre-server on port 8080.

Since you are using a VirtualHost, you don't need that and can use ProxyPass instead, to forward everything as-is.
You can use an --url-prefix, but it is silly and unnecessary.

An apache ServerName expects to see the servername, not an url. An url is a ServerName followed by an optional directory/filename...

tl;dr Why does your ServerName have a "/calibre" at the end?

Last edited by eschwartz; 05-28-2016 at 11:56 PM.
eschwartz is offline   Reply With Quote