From 19e368ee6d070699e52c845c324143568f08444a Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sun, 7 Jan 2018 22:12:47 -0500 Subject: Bug 1428146 - Fix static assets url rewriting rule --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index eaee185c9..6a3d46913 100644 --- a/.htaccess +++ b/.htaccess @@ -27,7 +27,7 @@ RewriteRule ^__version__$ version.json [L] # heartbeat.cgi returns 200 if the DB and memcached are both working, and 500 otherwise. RewriteRule ^__heartbeat__$ heartbeat.cgi [L] -RewriteRule ^static/v\d{4}\d{2}\d{2}\.\d+/(.+\.(?:js|css|woff2?|png|jpe?g|gif|ico|svg)) $1 [NC,E=IMMUTABLE:1,L] +RewriteRule ^static/v\d{4}\d{2}\d{2}\.\d+/(.+\.(?:js|css|woff2?|png|jpe?g|gif|ico|svg))$ $1 [NC,E=IMMUTABLE:1,L] Header set Cache-Control "public, max-age=31536000" env=REDIRECT_IMMUTABLE RewriteRule ^robots\.txt$ robots.cgi [L] -- cgit v1.2.3-24-g4f1b