tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cott Lang <c...@internetstaff.com>
Subject Re: Wildcard subdomains
Date Sun, 08 Aug 2004 19:13:11 GMT
On Sun, 2004-08-08 at 12:03, Henrik Gammelmark wrote:
> Is there any way I can catch all subdomains belonging to a domain-name 
> within one <Host> tag?
> 
> <Host bla..bla...> <Alias>*.domain2.com</Alias></Host>
> 
> The above illustrates what I wish to do, but it seems tomcat handles the 
> asterisk literally instead of a wildcard. Using Tomcat 5 hooked up to 
> Apache2 using mod-jk2.


Unfortunately, no. Tomcat doesn't support wildcard domains.

I've ended up using Apache rewrite rules to rewrite wildcard domains to
specific context paths as a solution, though it's less than optimal. :)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message