summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-22 04:17:12 +0100
committerGitHub <noreply@github.com>2018-03-22 04:17:12 +0100
commit9441c91d97a02034b2f2cfa9b19e3a555dbee317 (patch)
tree4739a605b5961a2737301c81695ef939b5f00b3d /.htaccess
parent9356ed8882760e0b724db963a0dff8f8d1943450 (diff)
downloadbugzilla-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--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 745c57536..fd14518bc 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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