diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-22 04:17:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 04:17:12 +0100 |
commit | 9441c91d97a02034b2f2cfa9b19e3a555dbee317 (patch) | |
tree | 4739a605b5961a2737301c81695ef939b5f00b3d /.htaccess | |
parent | 9356ed8882760e0b724db963a0dff8f8d1943450 (diff) | |
download | bugzilla-9441c91d97a02034b2f2cfa9b19e3a555dbee317.tar.gz bugzilla-9441c91d97a02034b2f2cfa9b19e3a555dbee317.tar.xz |
Bug 1399713 - ensure existing production redirects work in a cloud hosted environment
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,8 @@ 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 ^(\d+|quicksearch\.html|bugwritinghelp\.html)$ /helper/$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 |