httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

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

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