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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to