tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent <shellenb...@gmail.com>
Subject Re: Is there a way so specify a wildcard in host/alias to avoid dealing
Date Sat, 26 Aug 2006 16:02:15 GMT


Chris Lear wrote:
> 
> In server.xml something like
>   <Engine name="Catalina" defaultHost="c.toto.com">
>   <Host name="c.toto.com" appBase="webapps">
>   </Engine>
> should do it.
> 
> The defaultHost tells tomcat what to do with requests to hostnames that 
> aren't otherwise mapped.
> 

Is there another way to do it? I'm running a server with serveral different
domains and would like to map everything such as *.foo1.com to one host and
*.foo2.com to another. Is this possible?
-- 
View this message in context: http://www.nabble.com/Is-there-a-way-so-specify-a-wildcard-in-host-alias-to-avoid-dealing-with-bunch-of-virtual-hosts--tf2046546.html#a5999012
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message