httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sparky Kopetzky" <spar...@blackmesa-isp.net>
Subject Re: [users@httpd] Virtual Hosting problem
Date Mon, 21 Apr 2003 21:11:01 GMT
I'm going to get yelled at but I don't care.

>From Apache docs:

NameVirtualHost *

<VirtualHost *>

ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /www/domain

</VirtualHost>

<VirtualHost *>

ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain

</VirtualHost>


You can alternatively specify an explicit IP address in place of the * in
both the NameVirtualHost and <VirtualHost> directives.

Notice: your doc says 'ALTERNATIVELY' not REQUIRED and I followed your
examples!!! Changing the "*" to the server IP address did fix the problem.

Robin Kopetzky


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message