Red Hat Bugzilla – Bug 968960
"ProxyErrorOverride On" does not work if used with mod_proxy_ajp module
Last modified: 2013-05-30 09:56:48 EDT
Description of problem:
"ProxyErrorOverride On" does not work if used with mod_proxy_ajp module.
[ Config Snippet ]
ProxyPass /app/ ajp://127.0.0.1:8009/app/
ErrorDocument 404 /error/404.html
When I access a 404 URL in the /app context, which is proxied with AJP, I get a 404 page from JBoss EAP. Accessing 404 URLs via non-proxied content works as intended, as defined in "ErrorDocument".
Version-Release number of selected component (if applicable):
JBoss EWS 1.0.2 httpd-2.2.17
Steps to Reproduce:
1. Define "ErrorDocument"
2. Enable "ProxyErrorOverride"
3. Access 404 URL via definied "ProxyPass" context
404 error from backend (proxied) server
404 error as defined in "ErrorDocument" via Apache
There is existing [Bug 694939](https://bugzilla.redhat.com/show_bug.cgi?id=694939) with Apache httpd provided with RHEL6, which got fixed in Apache httpd rpm provided with RHEL 6.2
We just provide CVE fixes with high priorities for EWS 1.x as it's enters the maintenance lifecycle.