This is working great for me.
RewriteCond %{REQUEST_URI} /jsp-examples/(.*).jsp(.*)
RewriteRule ^/(.*) ajp://localhost:8009/$1 [P]
Thanks for the pointers.
,
Josh.> -----Original Message----- > From: Joost de Heer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 20, 2005 4:15 PM > To: [email protected] > Subject: Re: mod_proxy_ajp > > > Fenlason, Josh wrote: > > With the new proxy_ajp module it doesn't seem possible to only pass > > dynamic content to the servlet engine as was possible with mod_jk. > > > > With mod_jk you could have apache serve static content and tomcat > > serve > > dynamic content: > > JkMount /servlet/* ajp13 > > JkMount /*.jsp ajp13 > > JkMount /*.jsp/* ajp13 > > I think the following should work: > > RewriteCond %{HTTP_REQUEST} *.jsp > RewriteRule ^/(.*) ajp://tomcat.host/$1 [P] > > Joost >
