Re: NameVirtualHost and CGI Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Michael Peterson a écrit :
>> Michael Peterson wrote on Thu, 09 Oct 2008 16:09:54 -0500:
>>
>>     
>>> You need to remove the :80 in the VirtualHost declarations that contains
>>> Servername entries.
>>>       

No, the ':80' is ok.
>> No, that's perfectly ok and recommended. His problem was that he was using
>> a virtual host without a ServerName directive.
>>     
> I run a Virtual Host entry without a ServerName directive and have been
> through several releases of CentOS and Apache and all works fine for me.
>   


Are you talking about IP based or name based virtual hosts (single IP,
multiple vhosts)?

if using name based vhosts, Apache needs to know which config to server
for which vhost. In the case of multiple names for a single IP,
Servername is here for that.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux