ProxyErrorOverride On does not work with Apache httpd/mod_proxy_ajp in RHEL 6 and JBoss EWS 1.x/2.x
Issue
ProxyErrorOverride Ondoes not work if used withmod_proxy_ajpmodule in Apache httpd in JBoss EWS 1.0.x and 2.0.x.- When I access a 404 URL in the /app context, which is proxied with AJP, I get a 404 page from backend servers (Tomcat, JBoss EAP, and so on). Accessing 404 URLs via non-proxied content works as intended, as defined in
"ErrorDocument". It works inmod_proxy_http(i.e. changing protocol toajptohttp).
Environment
- Red Hat Enterprise Linux (RHEL) 6
- Red Hat JBoss Enterprise Web Server (EWS)
- 1.0.x
- 2.0.x
- Apache httpd/mod_proxy_ajp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.