You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Holger Schmidt <hs...@irz.inf.tu-dresden.de> on 1998/03/03 09:15:16 UTC

mod_log-any/1908: %p in LogFormat isn't replaced with the right port

>Number:         1908
>Category:       mod_log-any
>Synopsis:       %p in LogFormat isn't replaced with the right port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Mar  3 00:20:00 PST 1998
>Last-Modified:
>Originator:     hs19@irz.inf.tu-dresden.de
>Organization:
apache
>Release:        1.3b5
>Environment:
SunOS 4.1.3, gcc 2.7.2, default apache installation
>Description:
If LogFormat contains %p, it is replaced with the number after the Port directive, even if the request was received at an other port.
>How-To-Repeat:
Listen 80
Port 9999
LogFormat "http://%v:%p%U"
TransferLog logs/access_log
>Fix:
No
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]