From owner-freebsd-isp Sat Aug 17 14: 6:15 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACCE37B400 for ; Sat, 17 Aug 2002 14:06:13 -0700 (PDT) Received: from richard2.pil.net (richard2.pil.net [208.8.16.11]) by mx1.FreeBSD.org (Postfix) with SMTP id D7FA743E42 for ; Sat, 17 Aug 2002 14:06:10 -0700 (PDT) (envelope-from up@3.am) Received: (qmail 78927 invoked by uid 1825); 17 Aug 2002 21:06:06 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Aug 2002 21:06:06 -0000 Date: Sat, 17 Aug 2002 17:06:06 -0400 (EDT) From: up@3.am X-Sender: up@richard2.pil.net To: FreeBSD ISP List Subject: HostnameLookups directive not working in vhosts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I recently moved a lot of virtual hosts from an old FBSD server running apache 1.3.12 to a new one running 1.3.26. The server has HostNameLookups set to On in the main httpd.conf. In the virtual hosts conf file (implemented using include/conf), I have a couple of hosts with the the same directive turned Off. However, the custom logs for these servers still show lookups unless I turn it off in the main config. I'm pretty sure this was working fine on the old box, which had a virtually identical config. The apache docs (http://httpd.apache.org/docs/mod/core.html#hostnamelookups) note that this can be done in a virtual host config. The vhost config looks like: ServerAdmin webmaster@domain.com User joeuser Group vhosts DocumentRoot /home/servers/domain.com/pages ServerName domain.com ServerAlias www.domain.com HostnameLookups off CustomLog /home/servers/domain.com/access_log combined ScriptAlias /cgi-bin/ "/home/servers/domain.com/cgi-bin/" From the main config: AllowOverride all Options Indexes FollowSymLinks MultiViews ExecCGI IncludesNOEXEC Order allow,deny Allow from all Ideas? James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message