Re: Re: NameVirtualHost and CGI Problems

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



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@xxxxxxxxxx
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.


_______________________________________________
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