Apache Virtual Hosts

Ivan Gyurdiev ivg2 at cornell.edu
Thu May 5 16:38:44 UTC 2005


On Thu, 2005-05-05 at 13:31 -0400, Ken Nordquist wrote:
> For each NameVirtualHost, you must have a:
> 
> <VirtualHost xxx.xxx.xxx.xxx>
> 	DocumentRoot /path/to/virtual/host/directory
> </VirtualHost>
> 
> Where the xxx.xxx.xxx.xxx is the actual ip address of the virtual host 
> you wish to access.  You cannot leave the ip address out

I believe the wildcard syntax is legal. 
At least according to the Apache website it is...

> .
> 
> I use my computer as a test server and have a dozen or so test virtual 
> hosts up and running with no problems.

Have you tried using a wildcard for the VirtualHost ip?

-- 
Ivan Gyurdiev <ivg2 at cornell.edu>
Cornell University




More information about the test mailing list