tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Maring <Steven.Mar...@trcinc.com>
Subject problem with multiple contexts
Date Tue, 04 Apr 2000 15:34:57 GMT
I'm having a problem setting up multiple contexts to be independant of each
other.  My two contexts are 'modelSystem' and 'cocoon_samples', which ever
one is listed last in the server.xml file seems to handle requests to either
context.  For example, if I have:

<Context path="/cocoon_samples" docBase="e:\data\htdocs\cocoon_samples"
debug="0" reloadable="true" ></Context>
<Context path="/modelSystem" docBase="e:\data\htdocs\modelSystem" debug="0"
reloadable="true" ></Context>

trying to access either http://localhost/cocoon_samples/index.xml or
http://localhost/modelSystem/index.xml will map to the modelSystem/index.xml
file!

Anybody know what I'm doing wrong?

tomcat.conf:

ApJServMount /servlet /ROOT
################## modelSystem config ###############################
ApJServMount /modelSystem /modelSystem
<Location /modelSystem/WEB-INF/ >
	AllowOverride None
	deny from all
</Location>
################## cocoon_samples config ###############################
ApJServMount /cocoon_samples /cocoon_samples
<Location /cocoon_samples/WEB-INF/ >
	AllowOverride None
	deny from all
</Location>


Thanks.


# Steve Maring
# Web Engineer
# Technical Resource Connection, Inc.
# A wholly owned subsidiary of Perot Systems
# 800-872-2992, ext. 4323
# smaring@trcinc.com


Mime
View raw message