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 46969] New: CustomLog format %m always GET on errors with local ErrorDocument
Date Sun, 05 Apr 2009 13:44:08 GMT
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: bugs@httpd.apache.org
        ReportedBy: evanc@nortel.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message