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