From owner-freebsd-isp Sun Nov 19 22: 6:38 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.psknet.com (orion.psknet.com [207.198.61.253]) by hub.freebsd.org (Postfix) with SMTP id 7410C37B479 for ; Sun, 19 Nov 2000 22:06:33 -0800 (PST) Received: (qmail 21084 invoked from network); 20 Nov 2000 06:06:30 -0000 Received: from abyss.dashit.net (HELO ABYSS) (209.100.22.250) by orion.psknet.com with SMTP; 20 Nov 2000 06:06:30 -0000 From: "Troy Settle" To: "Martyn Routley" Cc: Subject: RE: Apache problem Date: Mon, 20 Nov 2000 01:08:35 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-AntiVirus: scanned for viruses by Pulaski Networks (http://www.psknet.com) using AMaViS (http://www.amavis.org) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Better yet, upgrade to 1.3.14, which has some really neat support for named virtual hosts: NameVirtualHost * ServerName domain.com ServerAlias www.domain.com DocumentRoot /some/path OtherDirectives .... I'm liking it because now I don't have to muck around with IPs at all in the apache config. I also like 1.3.14's new config directory support. Instead of a config file, you can have a directory with several files: 0_base_config 1_first_virtual_host 2_second_virtual_host etc... G'luck, -Troy ** -----Original Message----- ** From: owner-freebsd-isp@FreeBSD.ORG ** [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Jim Weeks ** Sent: Sunday, November 19, 2000 2:55 PM ** To: Martyn Routley ** Cc: freebsd-isp@FreeBSD.ORG ** Subject: Re: Apache problem ** ** ** I believe constructing your entries something like this will solve your ** problem. ** ** NameVirtualHost 192.168.0.1 ** ** # Virtual Hosts ////////////////////////////////////// ** ** ** DocumentRoot /usr/local/www/data/legado ** ServerName legado.ltd.uk ** ServerAdmin hostmaster@legado.ltd.uk ** ServerAlias www.legado.ltd.uk ** ScriptAlias /cgi-bin/ /usr/local/www/data/cgi-bin/ ** ** ** ** DocumentRoot /usr/local/www/data/marchesi ** ServerName marchesi.co.uk ** ServerAdmin hostmaster@marchesi.co.uk ** ServerAlias www.marchesi.co.uk ** ScriptAlias /cgi-bin/ /usr/local/www/data/aoglb/cgi-bin/ ** ErrorLog /usr/log/marchesi.co.uk-error_log ** TransferLog /usr/log/marchesi.co.uk-access_log ** ** ** -- ** Jim Weeks ** ** ** On Sun, 19 Nov 2000, Martyn Routley wrote: ** ** > Can anyone help with this problem? ** > ** > ** > I have Apache 1.3.12 running on one server with a couple of name based ** > virtual hosts. ** > ** > I have another server running 1.2.x with a lot of name based ** virtual hosts. ** > ** > I have extracted a chunk of the 1.2.x httpd.conf and added it ** to the 1.3.12 ** > httpd.conf. ** > ** > When I restart 1.3.12, all I get is this. ** > [Sun Nov 19 18:40:29 2000] [warn] VirtualHost legado.ltd.uk:80 ** overlaps with ** > VirtualHost www.erc.elec.co.uk:80, the first has precedence, ** perhaps you ** > need a NameVirtualHost directive ** > [Sun Nov 19 18:40:29 2000] [warn] VirtualHost ** marchesi.co.uk:80 overlaps ** > with VirtualHost legado.ltd.uk:80, the first has precedence, ** perhaps you ** > need a NameVirtualHost directive ** > [Sun Nov 19 18:40:29 2000] [warn] VirtualHost completebreaks.co.uk:80 ** > overlaps with VirtualHost marchesi.co.uk:80, the first has precedence, ** > perhaps you need a NameVirtualHost directive ** > [ ** > ** > Yes I do have the appropriate NameVirtualHost directive ** > ** > ** > Martyn Routley ** > ----------------------------------------------------- ** > InvictaNet - The Internet in Plain English, Guaranteed ** > http://www.invictanet.co.uk ** > mailto:info@invictanet.co.uk ** > phone: 0870 7402252 ** > fax: +44 (0)1233 334001 ** > ------------------------------------------------------ ** > ** > ** > ** > To Unsubscribe: send mail to majordomo@FreeBSD.org ** > with "unsubscribe freebsd-isp" in the body of the message ** > ** ** ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org ** with "unsubscribe freebsd-isp" in the body of the message ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message