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!
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:
- Installation of module failed on Windows 7 Beta and Windows Server 2008 R2 Beta.
- %{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}.
- {SCRIPT_NAME} server variable was set incorrectly when evaluating rewrite rules.
- Match types “IsFile” and “IsDirectory” did not work with file paths that contained forward slashes (e.g. “C:/inetpub/wwwroot/iisstart.htm”).
- Distributed rules defined inside of <location> tag were not read when rule set contained <clear /> element.
- 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.
- 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.
- Module was failing to parse a back-reference expression when the last error code was not reset.
- 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.
Is version 1.1 compatible w/ 1.0? ie. if I currently use urlrewrite in my app, will it break after upgrade?
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.
I get error code 2324 when trying to install on my 64bit windows 2008 server.
any idea?
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.
Hi Guys
I created the below web.config file and it works !
Can you help me to make rewrite rule for
http://www.auto112.eu/pregled.php?id_klijenta=261
I want it to look like
http://www.auto112.eu/autokvaternik
“id_klijenta” is column in mysql and value “autokvaternik” is in same mysql DB in column “kratkiURL”.
Regards
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.