> -----Original Message-----
> From: Cott Lang [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 2:11 PM
> To: Tomcat Users List
> Subject: Wildcard virtual hosts help
>
> I have a specific problem that requires that I map hundreds of thousands
> (yes, hundreds of thousands) of domain names to a dozen or so different
> web-apps based on domain name. I currently use Resin to handle this, but
> really wish to abandon Resin for Tomcat for a variety of reasons.
> I would immensely appreciate it if anyone could point me in the
> direction of how to implement something like:
>

I have done this with re-write rules in apache by forcing the domain names
into a common path that will then execute in the application context that I
want. I always use the default host in tomcat...

It is not the most elegant solution, but it *does* work. The advantage with
this approach is that new domains can be added without restarting anything.

Gary Evesson
Decentrix Inc.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to