Am Donnerstag, den 02.09.2010, 09:49 -0700 schrieb Mohit Anchlia: > On Thu, Sep 2, 2010 at 9:35 AM, michel <compu...@videotron.ca> wrote: > > > > ----- Original Message ----- From: "Mohit Anchlia" <mohitanch...@gmail.com> > > To: "Tomcat Users List" <users@tomcat.apache.org> > > Sent: Thursday, September 02, 2010 12:25 PM > > Subject: Re: URL rewrite > > > > > >> On Wed, Sep 1, 2010 at 6:21 PM, Hassan Schroeder > >> <hassan.schroe...@gmail.com> wrote: > >>>> > >>>> Is there a way to change the URL for eg: > >>>> > >>>> http://abc.com/a > >>>> to > >>>> http://abc.com/b/a > >>> > >>> http://lmgtfy.com/?q=tomcat+url+rewrite > >>> > >> Is URL rewrite module inbuilt or is there something that need to get > >> loaded > > > > > > > > > > > > http://code.google.com/p/urlrewritefilter/ > > > Looks like it needs a servlet for tomcat. Is there something like > mod_rewrite where any request coming in tomcat and without having to > have servlet can be changed? You could configure your webapps as multi-level contexts as described on http://tomcat.apache.org/tomcat-6.0-doc/config/context.html.
So if your context file was named a.xml you could rename it to "b#a.xml". Bye Felix > > > > --------------------------------------------------------------------- > > 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