httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46969] CustomLog format %m always GET on errors with local ErrorDocument
Date Mon, 07 Sep 2009 04:32:13 GMT

--- Comment #2 from 2009-09-06 21:32:09 PDT ---
(In reply to comment #1)
> I am able to reproduce part of this: namely GET is always shown as
> REQUEST_METHOD in a .shtml errordocument.  However, my access log always shows
> the original method, as expected.  That's with a 404.shtml errordocument.
> Can you post a configuration extract and request that'll demonstrate this?

Sorry for the delay.  Here is a short configuration that demonstrates this:

User nobody
Group nobody
LogFormat "%t %m %U%q %>s" access_log
CustomLog "logs/access_log" access_log
ErrorLog "logs/error_log"
LogLevel crit

DefaultType text/plain
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
ErrorDocument 400 /error/template.shtml
ErrorDocument 403 /error/template.shtml
ErrorDocument 404 /error/template.shtml
ErrorDocument 502 /error/template.shtml
ErrorDocument 503 /error/template.shtml

<Directory />
        AllowOverride None
        Deny from all

DocumentRoot "/usr/local/apache/htdocs"
<Directory "/usr/local/apache/htdocs/error">
        Options IncludesNoExec
        Allow from all

ProxyRequests On
Listen 8080
<Proxy *>
        Deny from all

Server version: 2.2.13

Request via proxy: (CONNECT
Access log result:
[07/Sep/2009:04:00:01 +0000] GET 403

Request via proxy: HEAD
Access log result:
[07/Sep/2009:04:13:03 +0000] GET 403

In either case, GET is logged instead of CONNECT.

Thanks very much for your help.


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