tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cott Lang <>
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>*</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:
For additional commands, e-mail:

View raw message