www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Niemeyer <dirk.nieme...@num.de>
Subject mod_log-any/213: Accessing a virtual host results in the virtual host being referred as remote host in the logfile
Date Sat, 01 Mar 1997 22:30:01 GMT

>Number:         213
>Category:       mod_log-any
>Synopsis:       Accessing a virtual host results in the virtual host being referred as
remote host in the logfile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Mar  1 14:30:01 1997
>Originator:     dirk.niemeyer@num.de
>Organization:
apache
>Release:        1.2b7
>Environment:
Debian Linux 2.0.28
gcc 2.7.2.1
>Description:
Accessing a virtual host (e.g. www.virtual.de) from a computer in the local net 
(e.g. host.real.de) results in a log file entry giving the name of the virtual 
host (www.virtual.de) as remote host.
This is not the case when the real server (e.g. www.real.de) is accessed from 
the same host. Then the actual name (host.real.de) is found in the logfile.
For logging both use the same entry in httpd.conf like this:
ServerName www.real.de
CustomLog path_real/access.log "%h %l %u %t \"%r\" %s %b %{Cookie}i"
<VirtualHost www.virtual.de:80>
CustomLog path_virtual/access.log "%h %l %u %t \"%r\" %s %b %{Cookie}i"
</VirtualHost>
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:



Mime
View raw message