summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-01-08 04:12:47 +0100
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-01-08 04:12:47 +0100
commit19e368ee6d070699e52c845c324143568f08444a (patch)
treef66f6bb966e6aaa5fe1f572687bbfad4e81f0104 /.htaccess
parentcf6ff6296dcf089b0fa49794cdc192103eeba9b2 (diff)
downloadbugzilla-19e368ee6d070699e52c845c324143568f08444a.tar.gz
bugzilla-19e368ee6d070699e52c845c324143568f08444a.tar.xz
Bug 1428146 - Fix static assets url rewriting rule
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
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]