I've been playing with 2.0.31 and I've noticed something strange. All of our .html and .htm files are server-parsed and should also have an expire time set. Strange thing is, if I set something like:
AddOutputFilter INCLUDES html htm ExpiresActive On ExpiresByType text/html A60 A request for http://foo/ does not get parsed or get expiry headers set. However, http://foo/index.hml works as expected. If I set: <FilesMatch "\.htm?l$"> SetOutputFilter INCLUDES ExpiresActive On ExpiresDefault A60 </FilesMatch> http://foo/ gets parsed, but no Expire Headers. Once Again, http://foo/index.hml gets parsed and headers get added. In order for http://foo/ to work correctly I use: <FilesMatch "\.htm?l$"> SetOutputFilter INCLUDES ExpiresActive On ExpiresDefault A60 </FilesMatch> <LocationMatch "/$"> ExpiresActive On ExpiresDefault A60 </LocationMatch> This just doesn't seem right, I have been toying with porting some of our modules to Apache 2, but I obviously don't understand what's going here. Why isn't http://foo/ recognized as text/html? -- Brian Akins Systems Engineer III CNN Internet Technologies