mod_expires should honor "onsuccess" for its headers added or use some "early" equivalent. It gives wrong result for redirects otherwise. F.e. there is a way to add or remove some headers just for redirect, like that: Header always set Pragma no-cache env=redir RewriteRule ^a\.html$ http://example.com/b.html [L,R=301,E=redir:1] but combined with mod_expires such way not works. This example <Files a.html> ExpiresDefault "access plus 1 day" </Files> Header unset Cache-Control env=redir Header unset Expires env=redir Header always unset Cache-Control env=redir Header always unset Expires env=redir RewriteRule ^a\.html$ http://example.com/b.html [L,R=301,E=redir:1] still have Cache-Control and Expires headers. Please fix this bug.
*** This bug has been marked as a duplicate of bug 44518 ***