httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JW ...@centraltexasit.com>
Subject Can a virutal host be set to *.domain.tld ?
Date Sun, 14 Jul 2002 23:34:40 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've been asked to find an answer to this question... I am not sure if we are talkign about
name-based or IP-based virutal hosting, I wasn't told.
For the sake of the discussion I'm going to assume it's name-based.

Basically, my boss wants a virtual host set up that will properly respond to _any_hostname_
on a certain domain. 
For example, it's easy to set up a virtual host that listens to a selecetd few hosts:

<VirtualHost xxx.xxx.xxx.xxx>
	ServerName domain.tld
	ServerAlias www.domain.tld
	ServerAlias www2.domain.tld
	ServerAlias admin.domain.tld
	ServerAlias test.domain.tld
	ServerAlias backup.domain.tld
[...]

but, what do you do when you want what basically amounts to a server alias for any and every
host? Something like ServerAlias *.domain.tld.

Is something like thi seven possible? I am not 100% sure but I get the impression that a redirection
is not a possibiltiy (I may be wrong).
Persuming. however, that redirecting is out of the question, what could be done in this case?

Again, I am presuming that we're talkign about name-based vhosting, though I may be wrong.

Thanks

- -- 

- ----------------------------------------------------
Jonathan Wilson
System Administrator
Cedar Creek Software     http://www.cedarcreeksoftware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9MgqQQ5u80xXOLBcRAlmDAJ4kbwLkSFdWxuOX408tyC4VJwwEFwCg1baI
CIhufQJhPRm1frsFoi2gbgI=
=zVA9
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message