Using Apache as proxy server + Tomcat -
i trying show custom page when tomcat down, in order usign apache server. trying redirect request tomcat (localhost:8080), except request start '/error', how can that? have tried in httpd.conf file:
errordocument 503 /error/503.html <ifmodule proxy_http_module> proxypass /error http://localhost/ retry=0 proxypassreverse /error http://localhost/ proxypass / http://localhost:8080/ retry=0 proxypassreverse / http://localhost:8080/ </ifmodule>
but didn't success.
did @ httpd documentation proxypass before asking question?
you want
proxypass /error !
to exclude paths starting /error
Comments
Post a Comment