I had a similar problem statement and setup. You can read through the
discussion here:
http://www.mentby.com/Group/httpd-users/conditionally-setting-http-response-header.html
In summary, cleanest way is to write your custom servlet filter that sets
right response headers to content served by tomca
Hi,
We have configured Apache 2 as reverse proxy and Tomcat as servlet container.
We have configured mod_expiry as mentioned below.
LoadModule expires_module modules/mod_expires.so
ExpiresActive on
ExpiresByType image/* M604800
ExpiresByType text/c