AlbundySzabolcs wrote:
Hi,
I have been trying to solve a problem, but I have not found any good
solution yet.
The problem is:
I have a web app and this web app is deployed to the
$TOMCAT_HOME/webapps/XXX directory.
I can reach that on the http://localhost:8080/XXX address
BUT, I would like to reach the web app on the http://localhost:8080/YYY
address too.
I added the following to the server.xml:
<Server>
<Service>
<Engine>
<Host>
.......
<Context path="/YYY" docBase="XXX"></Context>
</Host>
</Engine>
</Service>
</Server>
It helped but the Tomcat started two web contexts and it caused some other
problem.
Is it possible to create a "multiple" address for one web app and both
address represent same webapp?
We had this configuration running in production for a number of years
with no problem (the webapp could be reached under / and under
/webapp). Technically, these are two different applications running
from the same files, so session IDs cannot be exchanged between them.
What were the problems you encountered?
Regards,
Oliver Schoett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org