tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Colebatch <...@bigpond.net.au>
Subject Re: Apache-tomcat context mapping
Date Wed, 18 Jul 2001 05:09:22 GMT
mod_rewrite?  I think the problem is that the request will get to tomcat,
and tomcat will not have /example1 mapped...

cheers
dim

On Tue, 17 Jul 2001, Guntupalli Shanti wrote:

> Hi,
> 
> Here is my problem.
> 
> In apache's config file I should be able to map 2 different URI's to one 
> context in my Tomcat.
> something like
> 
> APJServMount 	/examples/servlet	apjv12://dev:8080/examples
> APJServMount	/examples1/servlet	apjv12://dev:8080/examples
> 
> so that any requests coming in with examples/servlet or /examples1/servlet 
> should go to the same context examples
> 
> I can have another context examples1 in my Tomcat whose docbase is also 
> same as examples. But If I do that the
> servlets are getting initialized twice (which doesn't work for me)
> 
> Any idea, how to do it?
> 
> I am running Apache 1.3.14 (with mod_jserv) talking to tomcat 3.2 on Sun 
> solaris.
> 
> Thanks...Shanti
> 
> 


Mime
View raw message