Re: NameVirtualHost and CGI Problems

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



Mike -- EMAIL IGNORED wrote on Thu, 9 Oct 2008 20:14:10 +0000 (UTC):

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

I still don't see the purpose of that virtual host. If it is for 
"catching" IP only accesses there are several methods to do this. Look for 
 "default virtualhost" in the apache documentation (and in the config 
template coming with CentOS). Also, if that single virtualhost 
documentroot and the main documentroot (in httpd.conf) are not the same 
then all non-hostname access will got to the main server documentroot and 
not your virtual host.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
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