httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject RE: [users@httpd] Virtual Hosts
Date Sun, 05 Jan 2003 20:02:32 GMT
On Sun, 5 Jan 2003, Jeff Cohen wrote:

> For me it works!!
> Listen 80
> NameVirtualHost 216.138.220.213
>
> <VirtualHost *.starford.ca>
>     ServerAdmin admin@starford.ca
>     ServerName Starford.ca
>     ServerAlias starford.ca *.starford.ca
> ......
> </VirtualHost>
>
>
> <VirtualHost *.gej-it.com>
>     ServerAdmin admin@gej-it.com
>     ServerName GEJ-IT
>     ServerAlias gej-it.com *.gej-it.com
> ......
> </VirtualHost>
>
> Check it!

Then perhaps I should rephrase. This syntax is undefined, and not
guaranteed to work in any future versions. It is actively discouraged in
the documentation. If it works for you, great. You got lucky. Please
don't encourage other people to use this syntax.

The argument to VirtualHost, when using name-based vhosting, should be
either an IP address or *, optionally followed by :port (eg :8080).

-- 
Rich Bowen
Apache - mod_perl - Perl - CGI
http://www.ApacheAdmin.com/


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