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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to