You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brent <sh...@gmail.com> on 2006/08/26 18:02:15 UTC
Re: Is there a way so specify a wildcard in host/alias to avoid
dealing
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