Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 14:54:59 -0500 (EST)
From:      Jim Weeks <jim@siteplus.net>
To:        Martyn Routley <martynr@newcolo.invictanet.co.uk>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Apache problem
Message-ID:  <Pine.BSF.4.21.0011191451320.7182-100000@veager.siteplus.net>
In-Reply-To: <200011191848.SAA27327@newcolo.invictanet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
I believe constructing your entries something like this will solve your
problem.

NameVirtualHost 192.168.0.1
 
# Virtual Hosts //////////////////////////////////////
 
<VirtualHost 192.168.0.1>
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/
</VirtualHost>
 
<VirtualHost 192.168.0.1>
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
</VirtualHost>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011191451320.7182-100000>