On 17/10/2013 12:32, Info wrote: > Hi Chris > > Do you have any idea how you can get my user to be able to edit the > pages? It still doesn’t work. > > User is Jon Lucas > > Is this the link I would use once logged in? > https://wiki.apache.org/tomcat/PoweredBy?action=edit > > Please help.
Please do not hijack threads. Mark > > Thanks > > Jon > > -----Original Message----- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: 16 October 2013 15:25 > To: Tomcat Users List Subject: Re: overriden context root > > Vicky, > > On 10/16/13 6:27 AM, vicky wrote: >> I have added below entry in server.xml to override the context >> root of my application i.e from /dummy to /market. > > As others have said, don't do this. > >> The problem is now the application is accessible via both context >> roots i.e via /dummy & /market context roots but I want the >> application to be accessible only via overridden context root i.e >> via /market only. > >> Kindly suggest how to do it. > > You want to do one of two things: > > 1. Just rename dummy.war to market.war. I don't know why so many > people resist the simplest possible way to do this. > > 2. Move dummy.war outside of Tomcat's auto-deployment directory > (which defaults to CATALINA_BASE/webapps/). Put your <Context> > element into the file > CATALINA_BASE/conf/[service]/[host]/market.xml and point docBase to > where you put your WAR file. If you are using the default service > name and "localhost" as your <Host>, then your context file would > be here: CATALINA_BASE/conf/Catalina/localhost/market.xml. > > -chris > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org