escape . in htaccess regex for CSS and JS HTTP headers

This commit is contained in:
Morris Jobke 2015-01-05 10:23:24 +01:00
parent f2e759b533
commit e97219cf75

View file

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