From 9441c91d97a02034b2f2cfa9b19e3a555dbee317 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 21 Mar 2018 23:17:12 -0400 Subject: Bug 1399713 - ensure existing production redirects work in a cloud hosted environment --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) (limited to '.htaccess') 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 -- cgit v1.2.3-24-g4f1b