URL Rewrite Module 1.1 for IIS 7

Today IIS team has released the URL Rewrite Module 1.1 for IIS 7. This is an incremental update that contains fixes to the bugs found since the URL Rewrite Module v1.0 has been released in November 2008. If you have version 1.0 installed (file version of rewrite.dll is 7.1.315.0), it is highly recommended you upgrade to version 1.1.

Install the URL Rewrite Module 1.1 for IIS 7 today!

Install URL Rewrite with Web PI

or, download:

Microsoft URL Rewrite Module 1.1 for IIS 7 (x86)

Microsoft URL Rewrite Module 1.1 for IIS 7 (x64)

Upgrade from URL Rewrite Module 1.0 release

If you have URL Rewrite Module version 1.0 installed, the installation package upgrades it to version 1.1. All rewrite rules in applicationHost.config and web.config files are preserved during upgrade process.

Important: If the IIS services are not stopped before you perform the upgrade, you will be prompted to restart your computer. To upgrade without restarting your computer, use the following command to stop the IIS service:

net stop was /y & net stop wmsvc

After the upgrade is completed, run this command:

net start w3svc

If Web Management Service was running before installing URL Rewrite then start it by using the command below:

net start wmsvc

Using URL Rewrite Module 1.1 with Application Request Routing 1.0 and 2.0 Beta

URL Rewrite Module 1.1 is fully compatible with Application Request Routing 1.0 and 2.0 Beta.

Bug fixes since URL Rewrite Module 1.0 release

The following important bug have been fixed in URL Rewrite Module 1.1:

  1. Installation of module failed on Windows 7 Beta and Windows Server 2008 R2 Beta.
  2. %{REQUEST_URI} references in mod_rewrite rules were translated incorrectly. Now, when you use the mod_rewrite rules import feature, the references to %{REQUEST_URI} will be converted to {URL}.
  3. {SCRIPT_NAME} server variable was set incorrectly when evaluating rewrite rules.
  4. Match types “IsFile” and “IsDirectory” did not work with file paths that contained forward slashes (e.g. “C:/inetpub/wwwroot/iisstart.htm”).
  5. Distributed rules defined inside of <location> tag were not read when rule set contained <clear /> element.
  6. Overly aggressive disabling of IIS kernel mode cache. The URL Rewrite Module used to disable kernel mode cache if any rule in a rule set had a condition that used cache unsafe server variable. The cache was disabled regardless whether the requested URL matched the rule pattern or not. In version 1.1, the module will disable kernel cache for a particular request only if that request’s URL matches the rule pattern and that rule uses cache unsafe server variable.
  7. The disabling of kernel mode cache took effect only when using rules with action type “Rewrite”. In version 1.1, the IIS kernel mode cache will be disabled for rules that uses unsafe server variables, regardless of the rule’s action type.
  8. Module was failing to parse a back-reference expression when the last error code was not reset.
  9. Un-encoded Unicode characters in query string caused URL rewrite module to fail.

More information

For more information about URL Rewrite Module and other IIS extensions visit the IIS Extensions page.

Also, be sure to visit the URL Rewrite Forum on IIS.NET if you have run into any problems when using the module or have questions or suggestions.


ruslany on April 20th 2009 in URLRewrite

PoorFairAverageGoodExcellent (No Ratings Yet)

9 Responses to “URL Rewrite Module 1.1 for IIS 7”

  1. Gravatar ImageFrank responded on 20 Apr 2009 at 3:18 pm #

    Is version 1.1 compatible w/ 1.0? ie. if I currently use urlrewrite in my app, will it break after upgrade?

  2. Gravatar Imageruslany responded on 20 Apr 2009 at 3:45 pm #

    Version 1.1 is fully compatible with 1.0. All the apps that work with 1.0 will continute to work with 1.1. There are no breaking changes.

  3. Gravatar ImageDotNetShoutout responded on 20 Apr 2009 at 8:42 pm #

    URL Rewrite Module 1.1 for IIS 7 | RuslanY Blog…

    Thank you for submitting this cool story – Trackback from DotNetShoutout…

  4. Gravatar Imagemike responded on 27 Apr 2009 at 12:23 am #

    I get error code 2324 when trying to install on my 64bit windows 2008 server.

    any idea?

  5. Gravatar Imageruslany responded on 29 Apr 2009 at 11:15 pm #

    Mike, please run the rewrite installer with logging turned on:

    msiexec /i rewrite_1.1_amd64_rtw.msi /l* C:\install.log

    Look for “error” or “fail” strings in the C:\install.log file.

  6. Gravatar ImageRuslanY Blog responded on 16 Jul 2009 at 3:59 pm #

    URL Rewrite Module 2.0 for IIS 7 – Beta…

    Today IIS team has released the URL Rewrite Module 2.0 for IIS 7 – Beta. This is an incremental release that includes all the features from version 1.1, and adds support for outbound response rewriting. More specifically, it can be used to:


  7. Gravatar ImageRahul responded on 13 Jul 2011 at 3:16 am #

    Hi Guys
    I created the below web.config file and it works !

  8. Gravatar ImageAutoservis, auto responded on 17 Dec 2011 at 6:38 am #

    Can you help me to make rewrite rule for


    I want it to look like

    “id_klijenta” is column in mysql and value “autokvaternik” is in same mysql DB in column “kratkiURL”.


  9. Gravatar Imagekizi4 responded on 02 Sep 2016 at 8:38 am #

    Hi there, every time i used to check weblog posts here early
    in the daylight, as i enjoy to gain knowledge of more and more.

Trackback URI | Comments RSS

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

XML Markup: If You want to add XML code to the comment please XML encode it first, otherwise the code will not show up.

Recently Published Articles