Hi,
I've been running the calibre content server using Apache's Reverse Proxy (mod_proxy), and I've been getting a lot of problems, mainly with getting "Bad Gateway" the first time I browse to the server, or not having certain images served properly and today I finally realized why!
It seems that CherryPy doesn't support HTTP/1.1 Keep-Alives properly so many of my issues were fixed by forcing Apache to use HTTP/1.0 with no keep-alives:
This is from httpd.conf:
Code:
<Location /books>
Order Deny, Allow
Deny from all
Allow from all
ProxyPass http://localhost:8083/books
ProxyPassReverse http://localhost:8083/books
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
Hope this helps to those who are having similar problems.