httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] servername in VirtualHost
Date Tue, 09 Mar 2004 13:54:45 GMT

On Tue, 9 Mar 2004, romeo wrote:
> NameVirtualHost example.com
>
> <VirtualHost example.com>
>      ServerAlias *.example.com
>      ServerAdmin admin@my.domain
>      DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
>      ServerName example.com
> </VirtualHost>

I don't understand why people use a config like this.  None of the apache
docs suggest this.

Replace example.com with *:80 in the NameVirtualHost and VirtualHost
directives and things should work.

Joshua.

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