tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@binarix.com>
Subject Re: context path aliasing
Date Fri, 28 Dec 2001 04:47:17 GMT
If your Tomcat is behind Apache, you might just use mod_rewrite.

Bojan

Quoting john woo <john32672001@yahoo.com>:

> I have a web application that needs to be accessed via
> two different "paths".
> 
> For example:
>     http://www.xyz.com/stats
>     http://www.xyz.com/stats2001
> 
> So, I'd like to have that web application associated
> with the paths
> "stats" as well as "stats2001".
> 
> This can be done via two separate <Context> elements
> in 
> server.xml. For example:
> 
>    <Context path="stats" docBase="stats2001" .../>
>    <Context path="stats2001" docBase="stats2001" .../>
> 
> The problem though is that two web-applications
> are then started. I'd like to have only one. Possible?
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-dev-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message