ProxyErrorOverride On does not work with Apache httpd/mod_proxy_ajp in RHEL 6 and JBoss EWS 1.x/2.x

Solution Verified - Updated -

Issue

  • ProxyErrorOverride On does not work if used with mod_proxy_ajp module 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 in mod_proxy_http (i.e. changing protocol to ajp to http).

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.