httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47106] New: Proxying of ErrorDocument path overwrites HTTP Status
Date Mon, 27 Apr 2009 16:18:20 GMT

           Summary: Proxying of ErrorDocument path overwrites HTTP Status
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: All
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy

I have a slightly unusual setup where all content is retrieved via mod_proxy
from various servers. However, to more clearly demonstrate the issue, I can
simplify things to this configuration:

ProxyErrorOverride On
ErrorDocument 404 /404error.html

RewriteEngine On
RewriteRule (.*) http://backend.sever$1 [P]

When requesting /whatever from this server, the initial request goes through to
'backend.server', which issues a 404 error.

The frontend server then makes another request to 'backend.server' for
'/404error.html'. backend.server has this file, so responds with an HTTP 200

The headend server now responds to the original request to /whatever, returning
a HTTP 200 with the HTML for the error document.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message