httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joost de Heer <jo...@sanguis.xs4all.nl>
Subject Re: mod_proxy_ajp
Date Tue, 20 Dec 2005 22:14:34 GMT
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