FilesMatch: exclude subdirectory

  • Hello,


    How can i exclude some directory within FilesMatch on apache-directive:

    Code
    1. <FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|svg|swf)$">
    2. ExpiresActive on
    3. ExpiresDefault "access plus 10 days"
    4. Header unset ETag
    5. FileETag None
    6. </FilesMatch>

    I want that for example the rules is on for everywhere but not for /htdocs/other/images?
    Thanks in advance.

  • Found another solution, if wished can be delete :)


    thanks anyway.

  • Hello,


    Can you please share your experience or solution?


    Thanks. Best regards.

    Support Infos: I-MSCP Version: 1.5.x / Distro: Debian Stretch / PHP: 7.1.27 - FPM / I-MSCP Plugins: Let´s Encrypt + PHPSwitcher (latest Versions)