Can you just specify this as the defaultHost in the Engine? That is, something like ...
<Engine ... defaultHost="thatHost" ... > <Host ... name="thatHost" ... > ... </Host> </Engine> -----Original Message----- From: Marco Pöhler [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:49 PM To: Tomcat Users List Subject: AW: catch-all host mapping Yes, I expected response in that direction ;-) If there is no common way I will use an apache in front of tomcat and use the configurations from the httpd to map my subdomains. That seems to be a funny thing - looking on the other threads these days. Thank you Yoav ! -----Ursprüngliche Nachricht----- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] Gesendet: Montag, 5. Januar 2004 15:12 An: Tomcat Users List Betreff: RE: catch-all host mapping Howdy, Yes, one idea: patch or extend StandardHost yourself. ;) Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Marco Pöhler [mailto:[EMAIL PROTECTED] >Sent: Saturday, January 03, 2004 9:20 AM >To: tomcat-user >Subject: catch-all host mapping > >Hi, > >I want to map every request like www1.mydomain.com and www2.mydomain.com to >one single webapp. That is possible using something like that: > >----->%----- ><Host name="www1.mydomain.com" ...> > <Alias>www2.mydomain.com</Alias> > ... ></Host> >-----%<----- > >That work's but I don't know how many wwwX.mydomains.com exists in the >future, and I don't want to add a Alias-line every time I add a new >subdomain. In my thoughts it should be possible to configure something like >that: > >----->%----- ><Host name="*.mydomain.com" ...> > ... ></Host> >-----%<----- > >But that doesn't work :-( Any Ideas to get this working ? I'm using tomcat >5.0.16 on jdk1.4.2, SuSE Linux. > >thanks in advance > >Marco > >--- >http://www.poehlerpoehler.de >http://www.archive4mail.com > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]