You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Dalibor Horinek (TravelCook.com)" <da...@travelcook.com> on 2011/03/23 21:22:03 UTC

[users@httpd] ProxyErrorOverride and weird cache-like behaviour.

Hi everybody,
I've been experiencing weird behaviour of Apache, when I use reverse 
proxy and ProxyErrorOverride
If it's on then apache somehow caches results from the back-end server 
and sends same output to clients even it should be different.

The problem is not on the back-end server, that works ok. And If I turn 
ProxyErrorOverride Off, then it works fine too.

Version of Apache2.2 I use is 2.2.16-6 from Debian (squeeze).

I have configuration as follows:

ErrorDocument 500 /errordocs/error.html
ErrorDocument 503 /errordocs/error.html
ErrorDocument 404 /errordocs/404.html

ProxyErrorOverride On

ProxyPass styles !
ProxyPass js !
ProxyPass images !
ProxyPass static !
ProxyPass /errordocs !
ProxyPassMatch (jpg|gif|png|css|js|ico|pdf)$ !

ProxyPass / http://127.0.0.1:10001
ProxyPassReverse / http://127.0.0.1:10001

FileETag INode MTime Size

ExpiresActive on
ExpiresDefault "access 1 second"

ProxyPass / http://127.0.0.1:10001/ retry=1
ProxyPassReverse / http://127.0.0.1:10001/ retry=1


What might be an issue here?

Thank you.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org