Tomcat 5.5 - multiple contexts using same path
- by ctn8iv
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.