httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warhurst, SI (Spencer) " <S.I.Warhu...@rl.ac.uk>
Subject RE: [users@httpd] HostnameLookups Off yet hostnames being logged
Date Tue, 14 Oct 2003 15:01:44 GMT
> > For some reason, since about midday on the 1st Oct Apache 2 
> on our test
> > server has been logging the hostnames instead of IP 
> addresses in access.log.
> >
> > I've not installed/re-installed Apache and have never changed the
> > HostnameLookups setting, which is set to Off. The only 
> things I can think of
> > that I've been playing around with in the past few weeks, 
> config-wise, are
> > rewriterules (same as on the live server, which is OK) and 
> errordocuments.
> >
> > Any ideas what could be causing this?
> 
> This is almost always caused by using using an Allow/Deny directive
> involving a hostname.  Apache needs to do the lookup in order 
> to verify
> the hostname, and hence has it available for logging.

Ahhh, I had put lines like this in the .htaccess:

allow from xxx.xxx.xxx.xxx # test machine

thinking it would ignore everything after the comment... but it doesn't -
oops!

Thanks
Spencer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message