tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guntupalli Shanti <sgunt...@cisco.com>
Subject Apache-tomcat context mapping
Date Wed, 18 Jul 2001 03:19:37 GMT
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