summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Panteleev <github.private@thecybershadow.net>2018-04-08 18:05:30 +0200
committerDylan William Hardison <dylan@hardison.net>2018-04-08 18:05:30 +0200
commit56c84bb9a182f771bc46da198a267c7111f9df9b (patch)
treeed22bbb47501daadeb425857e352eb48b1c74f23
parent3cf92acb65f76fd5a922a6fbba4ef936cb01b2c3 (diff)
downloadbugzilla-56c84bb9a182f771bc46da198a267c7111f9df9b.tar.gz
bugzilla-56c84bb9a182f771bc46da198a267c7111f9df9b.tar.xz
.htaccess: Make redirects domain-relative (#13)
Remove some hard-coded https://bugzilla.mozilla.org/ references.
-rw-r--r--.htaccess10
1 files changed, 5 insertions, 5 deletions
diff --git a/.htaccess b/.htaccess
index fd14518bc..196028005 100644
--- a/.htaccess
+++ b/.htaccess
@@ -7,11 +7,11 @@ AddType image/x-icon .ico
AddType application/font-woff .woff
AddType application/font-woff2 .woff2
-Redirect permanent /queryhelp.cgi https://bugzilla.mozilla.org/query.cgi?format=advanced&help=1
-Redirect permanent /bug_status.html https://bugzilla.mozilla.org/page.cgi?id=fields.html
-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 /queryhelp.cgi /query.cgi?format=advanced&help=1
+Redirect permanent /bug_status.html /page.cgi?id=fields.html
+Redirect permanent /bugwritinghelp.html /page.cgi?id=bug-writing.html
+Redirect permanent /etiquette.html /page.cgi?id=etiquette.html
+Redirect permanent /duplicates.html /duplicates.cgi
RewriteEngine On
# This rewrite rule skips over the rest, which is good because the load balancers