https://issues.apache.org/bugzilla/show_bug.cgi?id=46969

           Summary: CustomLog format %m always GET on errors with local
                    ErrorDocument
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]


CustomLog format %m is always GET in an error condition when the error message
is provided by a local ErrorDocument.  %m is correct for a successful
connection.  %m is also correct with ErrorDocument disabled.

The local ErrorDocument is a .shtml with server-side includes enabled. 
REQUEST_METHOD as reported by printenv in the .shtml is also GET.  The original
method is stored in REDIRECT_REQUEST_METHOD.  I tried to log
"%<m" instead to get the original request's method, but that also logged
GET instead of the original method.

Running Apache 2.2.11 as forward proxy server, with mod_proxy, mod_proxy_http
and mod_proxy_connect.  Problem can be duplicated with HEAD and CONNECT
requests to unavailable/invalid URLs.

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