I have had the problem in all versions of apache 2 that the following does not work as expected:
ExpiresActive On ExpiresByType text/html A120 A request for http://host.domain.com/index.html has the correct Expires header added, but a request for http://host.domain.com/ does not. I determined that mod_expires always ran before mod_dir, so mod_expires never matched the content-type. My solution was to change the following in mod_expires.c: - ap_hook_fixups(add_expires,NULL,NULL,APR_HOOK_MIDDLE); + ap_hook_fixups(add_expires,NULL,NULL,APR_HOOK_REALLY_LAST); This fixes my particular issue and does not seem to break anything else. Can others confirm this? Thanks. Brian Akins CNN Internet Technologies