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 18:21:44 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 5 Jan 2003, Jeff Cohen wrote:

> Try putting the servers names on the virtual host itself:
>
> Listen 80
> NameVirtualHost 1.2.3.4
>
> <VirtualHost abcd.com>
> ServerAlias abcd.com *.abcd.com
> ...
> </VirtualHost>
>
> <VirtualHost efgh.com>
> ServerAlias efgh.com *.efgh.com
> ...
> </VirtualHost>

No, don't do that. That won't work, and is specifically recommended
against in the documentation. The argument to NameVirtualHost *MUST* be
exactly the same as the argument to VirtualHost.

- -- 
Oh I have slipped the surly bonds of earth
And danced the sky on laughter-silvered wings
 --High Flight (John Gillespie Magee)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE+GHfBXP03+sx4yJMRAnplAKCXerBGU7NuGkDMcL4aRjYgZOgGZwCgwwD9
5NqexDwCEy3Y6kgKozkr9E4=
=xBfx
-----END PGP SIGNATURE-----



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