Merge pull request #13103 from owncloud/fix-htaccess-regex

escape . in htaccess regex for CSS and JS HTTP headers
This commit is contained in:
Morris Jobke 2015-01-05 13:26:56 +01:00
commit 0e17a00b62
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ Options -Indexes
ModPagespeed Off ModPagespeed Off
</IfModule> </IfModule>
<IfModule mod_headers.c> <IfModule mod_headers.c>
<FilesMatch ".(css|js)$"> <FilesMatch "\.(css|js)$">
Header set Cache-Control "max-age=7200, public" Header set Cache-Control "max-age=7200, public"
</FilesMatch> </FilesMatch>
</IfModule> </IfModule>