httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Tusini <ja...@homehouse.co.uk>
Subject [users@httpd] Wildcards in Name-based Virtual Hosts
Date Tue, 15 Jun 2004 21:01:03 GMT
I thought you could put a wildcard in the directive like this:

<VirtualHost *>
-
-
ServerName *.domain.com
-
-
</VirtualHost>

but then www.domain.com will go to the default server, so I have to use a
ServerAlias instead

Is this correct behaviour or should the wildcard work?

James

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