Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an apache web server with a ProxyPass configuration to link a Tomcat server:

ProxyPass /server http://localhost:8080/server
ProxyPassReverse /server http://localhost:8080/server

When Tomcat is down I obviously get a http 305 error. But when Tomcat back up for a few Apache still send 503 without ping Tomcat. I think this due a cache of that proxy because if I wait or restart Apache everythink works again.

How to disable or reduce this cache time?

Thank you

share|improve this question

1 Answer 1

up vote 1 down vote accepted

append retry=0 to the ProxyPass directive. See http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass

share|improve this answer
Thank you, I thought that was a simple timeout. –  Tobia May 29 '12 at 9:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.