Tomcat 5.5 - multiple contexts using same path
Posted
by ctn8iv
on Server Fault
See other posts from Server Fault
or by ctn8iv
Published on 2010-03-29T16:56:01Z
Indexed on
2010/03/29
17:03 UTC
Read the original article
Hit count: 314
Is it possible to set up multiple contexts using the same path? For example:
<Context docBase="/www/websites/site1/java/base" path="/base" reloadable="true"/>
<Context docBase="/www/websites/site2/java/base" path="/base" reloadable="true"/>
I have two sites that use the same path both running on the same server/IP. The sites use different virtual hosts and different ServerNames, but I have no control over the directory structure of the sites because they are maintained by a client. Until now, they have been content with only allowing one site to run at a time, but this is a major hassle, so I need to know if there's a workaround.
© Server Fault or respective owner