By any chance, do you have an Apache httpd server in front of this tomcat instance? The first solution that comes to my mind is using mod_rewrite with some rewrite rules on the httpd server so that the web browser client sees http://localhost:8080/YYY but it is really http://localhost:8080/XXX
DJ On Wed, 2009-11-11 at 08:57 -0800, 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? > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org