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