httpd/mod_proxy prepends error page for HEAD request to a next response for next GET request

Solution Unverified - Updated -

Issue

When Apache httpd/mod_proxy is configured with "ProxyErrorOverride On" and ErrorDocument is located on the backend server, httpd/mod_proxy prepends an error page body for HEAD request to a next response for next GET request.

Environment

  • Red Hat Enterprise Linux (RHEL) 6, 7
  • JBoss Web Server (JWS) 2.x, 3.x
  • Apache httpd/mod_proxy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content