You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Johnie Ingram <jo...@debian.org> on 1998/05/05 18:55:09 UTC

config/2183: Bug#22066: CustomLog nicknames do not work inside VirtualHost container

>Number:         2183
>Category:       config
>Synopsis:       Bug#22066: CustomLog nicknames do not work inside VirtualHost container
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue May  5 11:10:02 PDT 1998
>Last-Modified:
>Originator:     johnie@debian.org
>Organization:
apache
>Release:        1.3b6
>Environment:
Linux netgod 2.1.88 #2 Thu Mar 5 11:06:06 EST 1998 i586 unknown
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
gcc version 2.7.2.3
>Description:
Date: Sun, 03 May 1998 18:58:53 +0200
From: Alexander List <al...@sbox.tu-graz.ac.at>
 
In my httpd.conf, there is an entry

LogFormat "%h %l %u %t \"%r\" %>s %b" common

and

<VirtualHost 11.22.33.44>
# 1234 vhost
DocumentRoot /home/u1234/www/docs
ServerName www.1234.tld
CustomLog /home/u1234/www/logs/common.log common
</VirtualHost>

This results in the word "common" (and nothing else) being logged to the
file common.log.

As all the other directives OUTSIDE VirtualHost containers are global,
shouldn't the definition of LogFormat nicknames be global, too?

Best regards

Alex
>How-To-Repeat:
http://www.debian.org/Bugs/db/22/22066.html
>Fix:

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


s