httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fenlason, Josh" <jfenla...@ptc.com>
Subject RE: mod_proxy_ajp
Date Thu, 22 Dec 2005 20:58:26 GMT
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:joost@sanguis.xs4all.nl] 
> Sent: Tuesday, December 20, 2005 4:15 PM
> To: dev@httpd.apache.org
> 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
> 

Mime
View raw message