diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-01-08 04:12:47 +0100 |
---|---|---|
committer | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-01-08 04:12:47 +0100 |
commit | 19e368ee6d070699e52c845c324143568f08444a (patch) | |
tree | f66f6bb966e6aaa5fe1f572687bbfad4e81f0104 /.htaccess | |
parent | cf6ff6296dcf089b0fa49794cdc192103eeba9b2 (diff) | |
download | bugzilla-19e368ee6d070699e52c845c324143568f08444a.tar.gz bugzilla-19e368ee6d070699e52c845c324143568f08444a.tar.xz |
Bug 1428146 - Fix static assets url rewriting rule
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |