summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-01-28 17:10:05 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-01-28 17:10:05 +0100
commita496214a165549c36ac4a65dfc00d963d3902e9e (patch)
tree3a83028d62763833a23f97b109d36ccd4c69f034 /.htaccess
parent66ed5435944089de1dd9de383df0464525184770 (diff)
downloadbugzilla-a496214a165549c36ac4a65dfc00d963d3902e9e.tar.gz
bugzilla-a496214a165549c36ac4a65dfc00d963d3902e9e.tar.xz
Bug 1126315: Add rewrite rule to htaccess to properly map BzAPI requests to the BzAPI compatibility extension path
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index a8a3d8331..c4f54f2f9 100644
--- a/.htaccess
+++ b/.htaccess
@@ -78,4 +78,5 @@ RewriteRule ^form[\.:]screen[\.:]share[\.:]whitelist$ enter_bug.cgi?product=Fire
RewriteRule ^form[\.:]webops[\.\-:]request$ enter_bug.cgi?product=Infrastructure+\%26+Operations&format=webops-request
RewriteRule ^form[\.:]data[\.\-:]compliance$ enter_bug.cgi?product=Data+Compliance&format=data-compliance
RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]
+RewriteRule ^(?:latest|1\.2|1\.3)/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE]
RewriteRule ^bzapi/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE]