Got it working. Here's how I did it:
<Directory "/foo/bar">
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /bar "/foo/bar"
RewriteEngine On
RewriteRule ^/bar/(.*)\.jsp$ ajp://127.0.0.1:45002/bar/$1.jsp [P]
RewriteRule...
Is it possible to configure mod_proxy_ajp so it only passes dynamic content (e.g. *.jsp) to the servlet engine?
With mod_jk, this is easily accomplished:
JkMount /*.jsp ajp13
The desired result is to serve static stuff via Apache using an Alias/Directory directive, and serve *.jsp via AJP...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.