From e97219cf75b44dc37af9c1932ea1da3a285254fe Mon Sep 17 00:00:00 2001 From: Morris Jobke <hey@morrisjobke.de> Date: Mon, 5 Jan 2015 10:23:24 +0100 Subject: [PATCH] escape . in htaccess regex for CSS and JS HTTP headers --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 10adb902ff..eef4ead017 100644 --- a/.htaccess +++ b/.htaccess @@ -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> -- GitLab