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:

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.

9 thoughts on “URL Rewrite Module 1.1 for IIS 7”

  1. Pingback: DotNetShoutout
  2. 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.

  3. Pingback: RuslanY Blog

Leave a Reply

Your email address will not be published. Required fields are marked *