httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: Some logging issues & questions
Date Wed, 23 Dec 1998 18:45:44 GMT
On Wed, 23 Dec 1998, Dean Gaudet wrote:

> On Wed, 23 Dec 1998, Tony Finch wrote:
> 
> > The latter step is done on the basis of what Apache puts in the %v
> > field, i.e. what it thinks the ServerName is when it writes the log.
> > Because UseCanonicalName can change this, and because customers can
> > put it in their .htaccess files, they can therefore confuse the log
> > system and e.g. get free bandwidth...
> 
> Oh yuck, that wasn't intentional... I think mod_log_config should be
> changed to use r->server_hostname unconditionally... ditto for the
> port.  I'll make that change.

Except that you do need some way to log the hostname used if you are using
it for non-vhost based vhosts with mod_rewrite.  It is arguable that just
using the Host: header there would be enough in most cases, although I
think there may be a few where it isn't.


Mime
View raw message