diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-22 20:43:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 20:43:07 +0200 |
commit | 8b54dc1e1ada823d5e6c655f295e52602681226b (patch) | |
tree | ef175013637d93094061a9a85a41a61cafbc169e /.htaccess | |
parent | 50a43f2b2147cc7fba37c45860afd27a8f256b17 (diff) | |
download | bugzilla-8b54dc1e1ada823d5e6c655f295e52602681226b.tar.gz bugzilla-8b54dc1e1ada823d5e6c655f295e52602681226b.tar.xz |
Bug 1461819 - Plack::Handler::Apache2 accidentally unsets $ENV{MOD_PERL}
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,6 +12,8 @@ Redirect permanent /bug_status.html https://bugzilla.mozilla.org/page.cgi?id=fie Redirect permanent /bugwritinghelp.html https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html Redirect permanent /etiquette.html https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Redirect permanent /duplicates.html https://bugzilla.mozilla.org/duplicates.cgi +Redirect permanent /quicksearch.html https://bugzilla.mozilla.org/page.cgi?id=quicksearch.html +Redirect permanent /bugwritinghelp.html https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html RewriteEngine On # This rewrite rule skips over the rest, which is good because the load balancers @@ -27,8 +29,6 @@ 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 @@ -42,6 +42,7 @@ RewriteRule ^template_cache.deleteme/ - [F,L,NC] RewriteRule ^review$ page.cgi?id=splinter.html$1 [QSA] RewriteRule ^user_?profile$ page.cgi?id=user_profile.html$1 [QSA] RewriteRule ^request_defer$ page.cgi?id=request_defer.html$1 [QSA] +RewriteRule ^([0-9]+)$ show_bug.cgi?id=$1 [QSA] RewriteRule ^favicon\.ico$ extensions/BMO/web/images/favicon.ico RewriteRule ^form[\.:]itrequest$ enter_bug.cgi?product=Infrastructure+\%26+Operations&format=itrequest [QSA] RewriteRule ^form[\.:](mozlist|poweredby|presentation|trademark|recoverykey)$ enter_bug.cgi?product=mozilla.org&format=$1 [QSA] |