tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: URL rewrite
Date Thu, 02 Sep 2010 17:46:19 GMT
Am Donnerstag, den 02.09.2010, 09:49 -0700 schrieb Mohit Anchlia:
> On Thu, Sep 2, 2010 at 9:35 AM, michel <compukat@videotron.ca> wrote:
> >
> > ----- Original Message ----- From: "Mohit Anchlia" <mohitanchlia@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.schroeder@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-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message