httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47106] New: Proxying of ErrorDocument path overwrites HTTP Status
Date Mon, 27 Apr 2009 16:18:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47106

           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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ross.heritage@gmail.com


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
response.

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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message