[CentOS] Re: NameVirtualHost and CGI Problems
Michael Peterson
mpeterson at mail.charlesfurniture.com
Thu Oct 9 21:09:54 UTC 2008
Mike -- EMAIL IGNORED wrote:
> On Thu, 09 Oct 2008 21:43:24 +0200, Kai Schaetzl wrote:
>
>
>> Mike -- EMAIL IGNORED wrote on Thu, 9 Oct 2008 19:28:39 +0000 (UTC):
>>
>>
>>> In other words, ServerName alone fails to distinguish two named virtual
>>> hosts.
>>>
>> Oh, it sure does. If it is present in both - which it isn't in your
>> config.
>>
>>
>>
>> Kai
>>
>
> Yes, a retest confirms your observation. I am therefore
> left with the need to remove the VirtualHost that
> has no ServerName. I can access the site with an
> IP address, which, I think, this is meant to prevent.
>
> Mike.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
You need to remove the :80 in the VirtualHost declarations that contains
Servername entries.
I have several Domain and Sub-Domain host names running against one IP
using the VirtualHost pratice.
My most recent server is running on CentOS 5.2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20081009/7d8e46b9/attachment.html>
More information about the CentOS
mailing list