View Single Post
Old 05-29-2016, 02:13 PM   #7
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)
VirtualHost and ProxyPass is if you want to use https://calibre.dom134.com
RewriteRule and --url-prefix is if you want to use https://www.dom134.com/calibre

So:
  • add back --url-prefix to the calibre-server systemd unit.
  • Put your apache conf back to the way it was before you involved calibre.
  • Make sure your calibre-server is fully functional at http://localhost:8080/calibre.
  • Enable the proxy modules in apache, if they aren't already.
  • As per the calibre manual, add the following to your apache conf:
    Code:
    RewriteEngine on
    RewriteRule ^/calibre/(.*) http://localhost:8080/calibre/$1 [proxy]
    RewriteRule ^/calibre http://localhost:8080 [proxy]
    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1

Last edited by eschwartz; 05-29-2016 at 02:18 PM.
eschwartz is offline   Reply With Quote