tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Pöhler <marco.poeh...@poehlerpoehler.de>
Subject catch-all host mapping
Date Sat, 03 Jan 2004 14:20:18 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message