[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: overlapping virtual hosts
- From: Igmar Palsenberg <palsenberg tebenet nl>
- To: redhat-list redhat com
- Subject: Re: overlapping virtual hosts
- Date: Fri, 01 Oct 1999 10:05:09 +0200
Mathco Tech. Dep wrote:
>
> Hi
> Has anyone ever encountered this problem before
> when adding virtual hosts to /etc/httpd/conf/httpd.conf
>
> [warn] VirtualHost www.gatewalker.com:80 overlaps with VirtualHost
> test.eeriestudios.com:80, the first has precedence, perhaps you need a
> NameVirtualHost directive
To be a bit unfriendly : Tou didn't read the doc's. VirtualHost only
works the way you use it on DIFFERENT IP's.
To use Namebased Virtal Hosting, you need sonthing like :
Listen 10.1.1.1:80
<VirtualHost 10.1.1.1>
ServerName www.domain1.com
Documentroot /www/domain1
ErrorLog /log/error1
TransferLog /log/access1
</VirtualHost>
<VirtualHost 10.1.1.1>
ServerName www.domain2.com
DocumentRoot /www/domain2
ErrorLog /log/error2
TransferLog /log/access2
</VirtualHost>
Remarks :
This will NOT work with browsers that do not support HTTP 1.1
This will NEVER work with Apache-SSL
>
> The two domains are directed to the same ip adress.
>
> Mathias Bjorkman
> Head Technician
> Mathco Computer
> Phone: 504-693-7063
> Fax: 561-365-0153
> www.mathco.com
Igmar Palsenberg
Administrator
JDI Media Solutions
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]