From owner-freebsd-isp Sun Nov 19 11:55:25 2000 Delivered-To: freebsd-isp@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.prod.itd.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id 3DD2737B479 for ; Sun, 19 Nov 2000 11:55:22 -0800 (PST) Received: from veager.siteplus.net (1Cust153.tnt9.chattanooga.tn.da.uu.net [63.39.120.153]) by avocet.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA26989; Sun, 19 Nov 2000 11:55:17 -0800 (PST) Date: Sun, 19 Nov 2000 14:54:59 -0500 (EST) From: Jim Weeks To: Martyn Routley Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Apache problem In-Reply-To: <200011191848.SAA27327@newcolo.invictanet.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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