Re: NameVirtualHost and CGI Problems

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



On Fri, 10 Oct 2008 18:01:24 +0930, admin wrote:

>> Have you run several Virtual Hosts with the same IP address?
> 
> Yes, I run multiple Virtual Hosts on my development server and they all
> look like this:
> 
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
>    DocumentRoot /var/www/html/site1
>    ServerName site1.localhost
>    other stuff ....
> </VirtualHost>
> 
> <VirtualHost *:80>
>    DocumentRoot /var/www/html/site2
>    ServerName site2.localhost
>    other stuff ....
> </VirtualHost>
> 
> <VirtualHost *:80>
>    DocumentRoot /var/www/html/site3
>    ServerName site3.localhost
>    other stuff ....
> </VirtualHost>
> 
> Have you got your ServerNames set up properly in /etc/hosts or DNS?

All in hosts; my stuff is working now.  My last query
was really addressed to Michael Peterson, who indicated
that he omits ServerName.

Mike.

_______________________________________________
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