proxy_ajp wildcards
- by The Digital Ninja
I need to setup apache so that any site.com/ANYTHING/servlet/ANYTHING goes over ajp into tomcat, but regular files will go through apache still.
I have been messing around with this to no avail
<LocationMatch "./*/servlet/*">
Order Allow,Deny
Allow from all
ProxyPass ajp://localhost:8009/
ProxyPassReverse /
</LocationMatch>
This works at directing everything to our tomcat insance.
ProxyPass / ajp://localhost:8009/