tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cott Lang <c...@internetstaff.com>
Subject RE: Host Aliases, Wildcards
Date Thu, 05 Aug 2004 01:56:06 GMT
It's on my list of things to do when I have free time. I'm estimating
that I'll get to it in 2018. :)


On Wed, 2004-08-04 at 10:56, Shapira, Yoav wrote:
> Hi,
> You can use Apache's mod_rewrite.  You can use Tomcat's balancer webapp.
> You can use other tools to do tricks in this area.  There's no Tomcat
> support for wildcard virtual hosts, and with the current code base it's
> not trivial to write, as you've noted.  However, as always patches and
> enhancements are welcome ;)
> 
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-----Original Message-----
> >From: Cott Lang [mailto:cott@internetstaff.com]
> >Sent: Wednesday, August 04, 2004 11:51 AM
> >To: Tomcat Users List
> >Subject: Re: Host Aliases, Wildcards
> >
> >On Mon, 2004-08-02 at 09:43, J.Lindberg wrote:
> >
> >> Tomcat docs on host aliases say nothing about wildcards, so I'm
> >> assuming it's not implemented. Would be nice to see a change in this
> >> policy. :)
> >
> >It is most definitely not implemented. I even browsed down through the
> >source to review how it did the mappings. It didn't seem like a trivial
> >rewrite (at least, not being familiar with the rest of the code and the
> >potential ramifications).  I could really use the functionality, but
> the
> >only servlet engine I've found that has excellent virtual host support
> >is Caucho's Resin.
> >
> >You can do a trick with Apache rewrite rules to match wildcard domains
> >and forward them to a particular /context-path/. This works fine,
> >provided you don't want to use ROOT web apps to avoid having a
> pointless
> >context path in the URL, which I did. :)
> >
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
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