As a result of terrible, terrible errors, we have changed the way Apache connects to Tomcat. We used mod_jk:
JkMount /path ajp13
Now we use mod_proxy_ajp:
ProxyPass /path ajp://localhost:8009/path
ProxyPassReverse /path ajp://localhost:8009/path
However, there is a function offered JkMount, but it ProxyPassdoes not allow: to select file types. This made it possible to proxy html files, but not images - in other words, for a good fast Apache to serve static things and resort to slow Tomcat only for dynamic stuff.
JkMount /*.html ajp13
Is there any way to achieve this using ProxyPass? Perhaps a district directive is used, <Location>or something like that?