URL Rewrite Module v2 – Release Candidate

The URL Rewrite Module 2.0 – Release Candidate is available for download. The release contains functionality and stability improvements and it is believed to have a quality level suitable for production deployments.

Overview

Microsoft URL Rewrite Module 2.0 for IIS 7 is an incremental release that includes all the features from version 1.1, and adds support for outbound response headers and content rewriting. More specifically, it can be used to:

  • Replace the URLs generated by a web application in the response HTML with a more user friendly and search engine friendly equivalent
  • Modify the links in the HTML markup generated by a web application behind a reverse proxy.
  • Fix up the content of any HTTP response by using regular expression pattern matching.
  • Modify HTTP request headers and IIS server variables.
  • Modify HTTP response headers

Install the URL Rewrite Module 2.0 – RC

To install the URL Rewrite Module 2.0 – RC, use the download links at the module’s home page at http://www.iis.net/extensions/urlrewrite.

Note:

  • If a previous version of URL Rewrite Module, such as v1.0 and v1.1, is already installed then it will be upgraded to the v2.0 RC
  • If a beta version of the URL Rewrite Module 2.0 is already installed, then it has to be uninstalled before installing v2.0 RC.

Changes since the beta release

Here are the new features and changes that were added to the module in the RC release. For the complete list of the URL Rewrite 2.0 features refer to Using URL Rewrite Module 2.0.

  • Rewriting of HTTP response headers. Outbound rewrite rules can be used modify any existing HTTP response headers or to set new ones.
  • Logging of rewritten URLs. The rewrite rules can be configured to log the rewritten URL in IIS W3C logs as opposed to logging an originally requested URL.
  • Evaluating HTTP response headers from rewrite rules. The rewrite rules now can access and evaluate the values in the HTTP response headers.
  • Allow list for server variables. To prevent distributed rewrite rules from accidentally or purposefully modifying IIS server variables that may affect security or runtime behavior of a web application the modifiable server variables now have to be explicitly added to the allow list.
  • HtmlEncode function. Outbound rewrite may often use an un-trusted data (e.g. query string or HTTP headers) to build a replacement string to insert into the HTTP response. In those cases the HtmlEncode function should be used to prevent insertion of client-side scripts into the response, which could result in cross-site scripting vulnerability.
  • Updated user interface in IIS Manager. The user interface has been significantly improved to better represent the module configuration and to simplify such common tasks as configuring of rewrite rules and rewrite conditions.
    URL Rewrite v2 - User Interface

Documentation:

Support

8,828 views

ruslany on November 9th 2009 in URLRewrite

PoorFairAverageGoodExcellent (6 votes, average: 4.33 out of 5)

5 Responses to “URL Rewrite Module v2 – Release Candidate”

  1. Gravatar ImageTweets that mention URL Rewrite Module v2 – Release Candidate | RuslanY Blog -- Topsy.com responded on 09 Nov 2009 at 10:38 pm #

    [...] This post was mentioned on Twitter by Ruslan Yakushev, Matt Duguid. Matt Duguid said: RT @ruslany: IIS URL Rewrite v2 is available! New features, stability and performance improvements. http://tinyurl.com/urlrewritev2 [...]

  2. Gravatar ImageChristoph responded on 03 Dec 2009 at 2:19 am #

    Hi, is there Intellisense Support in the web.config available for version 2.0 (as 1.x has sole problems, and i’m using 2.0)

  3. Gravatar Imageruslany responded on 03 Dec 2009 at 5:11 pm #

    @Christoph: not yet, but it will be after we ship RTW. What are the problems with 1.1?

  4. Gravatar ImageRichard responded on 21 Dec 2009 at 7:07 am #

    Is it correct that I can’t use this release on a live web server? If so, do you know when the final release is due?

    Thanks.

  5. Gravatar Imageruslany responded on 21 Dec 2009 at 8:15 am #

    @Richard: This release can be used on a live web server. Its license permits usage in production environments.

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