diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-10-21 19:27:59 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-10-21 19:27:59 +0200 |
commit | 4d6f94f325fde0a41af5df315f27f47c63d6bacc (patch) | |
tree | 503d904afcbb7586eb9b49db097f94f5776f920d /docs | |
parent | 6b1b0ba6fddd12fc2e274d3119713cf773526e26 (diff) | |
download | bugzilla-4d6f94f325fde0a41af5df315f27f47c63d6bacc.tar.gz bugzilla-4d6f94f325fde0a41af5df315f27f47c63d6bacc.tar.xz |
Bug 1200604: The URL Rewrite extension for IIS is needed to use the rest/ shortcut in URLs (instead of rest.cgi/)
r=gerv
Diffstat (limited to 'docs')
-rw-r--r-- | docs/en/rst/installing/iis.rst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/en/rst/installing/iis.rst b/docs/en/rst/installing/iis.rst index 74e198ae0..1670db5f5 100644 --- a/docs/en/rst/installing/iis.rst +++ b/docs/en/rst/installing/iis.rst @@ -91,6 +91,29 @@ From the top-level menu, which contains the name of your machine, click :command:`iisreset` +Enable Rewrite Rules for REST +============================= + +REST URLs are usually of the form http://.../bugzilla/rest/version instead of +http://.../bugzilla/rest.cgi/version. To let IIS redirect rest/ URLs to rest.cgi, +you need to download and install the +`URL Rewrite extension for IIS <http://www.iis.net/downloads/microsoft/url-rewrite>`_. +Direct download links are available at the bottom of the page for both x86 and +x64 Windows. + +Once installed, you open the IIS Manager again and go to your Bugzilla +Application. From here, double-click :guilabel:`URL Rewrite`. Then click +:guilabel:`Add Rule(s)` under the :guilabel:`Actions` menu and click +:guilabel:`Blank rule` in the :guilabel:`Inbound rules` section. + +Fill the fields as follows. Other fields do not need to be edited. + +* :guilabel:`Name`: ``REST`` +* :guilabel:`Pattern`: ``^rest/(.*)$`` +* :guilabel:`Rewrite URL`: ``rest.cgi/{R:1}`` + +There is no need to restart IIS. Changes take effect immediately. + Common Problems =============== |