Thursday, January 27, 2011

mod_expires, exclude a single directory

Hi Folks,

is it possible to exclude one or more directorys from mod_expires with the expires.conf ?

I know how to make a setup for file and mime-types, but I'm lost to tell it not to add expire headers to files from a specific directory.

  • It's possible with the Directory parameter.

    <Directory /your/directory>
        ExpiresActive Off 
    </Directory>
    

0 comments:

Post a Comment