You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Warhurst, SI (Spencer) " <S....@rl.ac.uk> on 2003/10/13 12:40:21 UTC

[users@httpd] HostnameLookups Off yet hostnames being logged

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?

Thanks

--
Spencer Warhurst
Listserv Services Manager

JISCmail -> http://www.jiscmail.ac.uk
Mailtalk -> http://www.mailtalk.ac.uk


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


Re: [users@httpd] HostnameLookups Off yet hostnames being logged

Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 13 Oct 2003, Warhurst, SI (Spencer)  wrote:

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

Joshua.

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