[users@httpd] How to customize error pages for only 502 and 503 and ignore other errors in Apache http server?

2012-07-02 Thread Sheng Qiang Xu
Hi, I am using apache as proxy server and another application server (like Smash) is behind apache. In apache side, I only want to customize error pages for 502 and 503 error and still display the application server's response if other errors appear. What I do now is: ProxyErrorOverride On

[users@httpd] How to customize error pages for only 502 and 503 and ignore other errors in Apache http server

2012-06-27 Thread Sheng Qiang Xu
t 503 /errors/HTTP_SERVICE_UNAVAILABLE.html.var This works for 502 and 503, but it also overrides 4XX and other 5XX errors with apache's default pages, not as expected. Is there a way to only override 502, 503 in Apache and ignore other errors? thanks. Best Regards -------- Shen