Commit b35db6c5 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1200604: The URL Rewrite extension for IIS is needed to use the rest/…

Bug 1200604: The URL Rewrite extension for IIS is needed to use the rest/ shortcut in URLs (instead of rest.cgi/) r=gerv
parent 205e925a
......@@ -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
===============
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment