tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake" <j...@marinar.com>
Subject Re: Rewrite Rules and Tomcat
Date Mon, 04 Sep 2000 17:09:21 GMT
Jason,

I still cannot get mod_rewrite to work. Here's my rewrite line:

RewriteRule ^/weblinker/(.*)$ /div/servlet/div.Div/weblinker/$1
[T=jserv-servlet,PT]

any ideas?

Jake
----- Original Message -----
From: Jason Rumney <jrumney@att.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, August 29, 2000 4:51 AM
Subject: Re: Rewrite Rules and Tomcat


> "Richard Buggy" <bugbert@bigpond.net.au> writes:
>
> > > RewriteRule ^/program/(.*)$ /div/servlet/div.Div/program/$1 [PT]
> >
> >   The only way I've been able to get this to work is to have Apache =
> > send a
> > redirect back to the browser and then have the browser request the new
> > document. From memory [R] will do that.
>
> It is also possible to get rewrite rules to work by explicitly setting
> the Mime-type with [T=jserv-servlet]
>
>
> I'm not sure why the mod_jserv from Tomcat should work any differently
> than the one from Jserv in respect of module priorities, perhaps it is
> possible to get things working as expected by careful reordering of
> the AddModule directives in httpd.conf, although I have tried the
> obvious solution of putting mod_rewrite after mod_jserv without success.
>
>
>
> --
> Jason Rumney <jrumney@attlabs.att.com>
> AT&T Labs (Redditch, UK)
>


Mime
View raw message