Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 69116 invoked from network); 14 Oct 2003 15:02:05 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Oct 2003 15:02:05 -0000 Received: (qmail 74237 invoked by uid 500); 14 Oct 2003 15:01:46 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 74226 invoked by uid 500); 14 Oct 2003 15:01:45 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 74212 invoked from network); 14 Oct 2003 15:01:45 -0000 Received: from unknown (HELO exchange07.rl.ac.uk) (130.246.135.148) by daedalus.apache.org with SMTP; 14 Oct 2003 15:01:45 -0000 Received: by exchange07.rl.ac.uk with Internet Mail Service (5.5.2656.59) id <4TJ8LQXQ>; Tue, 14 Oct 2003 16:01:46 +0100 Message-ID: <350DC7048372D31197F200902773DF4C047A8268@exchange11.rl.ac.uk> From: "Warhurst, SI (Spencer) " To: "'users@httpd.apache.org'" Date: Tue, 14 Oct 2003 16:01:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] HostnameLookups Off yet hostnames being logged X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > 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 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