If you are front-ending with Apache you can use RewriteRule http://mail-archives.apache.org/mod_mbox/tomcat-users/200608.mbox/%3Cecdskn$ [EMAIL PROTECTED]
Have you considered deploying your application as root.war? http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Does this help? Martin-- ----- Original Message ----- From: "Aakriti" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Monday, December 17, 2007 11:18 AM Subject: Trying to Map a web application to "/" in tomcat 5.5 > > Hi, > We are trying to Map the URl of our tomcat instance such that the webapp > "appadmin" maps to "/" > The tomcat version being used is tomcat 5.5.17 > We are trying to do this by specifying the following in server.xml > > <Service name="Catalina"> > <Connector port="6293" /> > > <!-- This is here for compatibility only, not required --> > <Connector port="8017" protocol="AJP/1.3" /> > > <Engine name="Catalina" defaultHost="localhost"> > <!-- <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase" /> crossContext="false" --> > > <Host name="localhost" appBase="webapps" unpackWars="true" > autoDeploy="true"> > <Valve className="com.cisco.manager.impl.ManagerValve" /> > <Context docBase="/appadmin" path="/appadmin" reloadable="true" > wrapperClass="org.apache.catalina.core.StandardWrapper"> > <Valve className="com.cisco.uccx.UccxAuthenticator" > characterEncoding="UTF-8"/> > <Realm className="com.cisco.uccx.UccxRealm"/> > </Context> > > > </Host> > </Engine> > > </Service> > > But when we try to navigate to a servlet mapped to the URL pattern > /appadmin/Main (specified in web.xml), we are not able to reach it using > http://hostname:6293/appadmin/Main. We still have to use > http://hostname:6293/appadmin/appadmin/Main > > The same use to work in Tomcat 3.2. We are in the process of migrating to > tomcat 5.5. > Also we are using form based authentication where the url pattern is > specified as /appadmin/* as most of our URL patterns start with /appadmin/.. > in web.xml > Any idea on what we are doing wrong? > Regards > Aakriti > > > -- > View this message in context: http://www.nabble.com/Trying-to-Map-a-web-application-to-%22-%22-in-tomcat-5 5-tp14372571p14372571.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]