Technical Preview of URL Rewrite Module for IIS 7.0 is released LockedRSS

0 replies

Last post May 30, 2008 04:51 PM by ruslany

‹ Previous Thread|Next Thread ›
  • Technical Preview of URL Rewrite Module for IIS 7.0 is released

    May 30, 2008 04:51 PM|ruslany|LINK

    Today we are releasing the Technical Preview of URL Rewrite Module for IIS 7.0.

    URL rewrite module provides a rule-based rewriting mechanism for changing request URL’s before they get processed by web server. The module can be used to express URL rewriting logic that can use regular expressions or wildcards and can make rewriting decisions based on HTTP headers and server variables. While the primary purpose of the module is to rewrite requested URL’s, it also has functionality to perform redirects, send custom responses and abort requests based on the logic expressed in the rewrite rules.

    Install the URL Rewrite Module today!

    Microsoft URL Rewrite Module for IIS 7.0 CTP1 (x86)

    Microsoft URL Rewrite Module for IIS 7.0 CTP1 (x64)

    Features

    There is a lot of interesting features that are included in this release. Here are some of the most important:

    • Rules-based URL rewriting engine. Rewrite rules are used to express the logic of what to compare/match the request URL with and what to do if comparison was successful. Web server and site administrators can use rewrite rules to define URL rewriting logic.
    • Regular expression pattern matching. Rewrite rules can use ECMA-262compatible regular expression syntax for pattern matching.
    • Wildcard pattern matching. Rewrite rules can use Wildcard syntax for pattern matching
    • Back-references to patterns and conditions. Back-references are used to capture parts of a matched URL so that it can be re-used later in a rule when constructing a substitution URL string. Back-references work with regular expression and wildcards patterns.
    • Global and distributed rewrite rules. Global rules are used to define server-wide URL rewriting logic. These rules are defined within applicationHost.config file and they cannot be overridden or disabled on any lower configuration levels. Distributed rules are used to define URL rewriting logic specific to a particular configuration scope. This type of rules can be defined on any configuration level by using web.config files.
    • Access to server variables and http headers. Server variables and HTTP headers provide additional information about current HTTP request. This information can be used to make rewriting decisions or to compose the output URL.
    • Various rule actions. Instead of rewriting a URL, a rule may perform other actions, such as issue an HTTP redirect, abort the request, or send a custom status code to HTTP client.
    • Rewrite maps. Rewrite map is an arbitrary collection of name-value pairs that can be used within rewrite rules to generate the substitution URL during rewriting. Rewrite maps are particularly useful when you have a large set of rewrite rules, all of which use static strings (i.e. there is no pattern matching used). In those cases, instead of defining a large set of simple rewrite rules, you can put all the mappings between input URL and substitution URL as keys and values into the rewrite map, and then have one rewrite rule which references this rewrite map to look up substitution URL based on the input URL.
    • UI for managing rewrite rules. Rewrite rules can be added, removed and edited by using "URL Rewrite Module" feature in IIS Manager.
    • GUI tool for importing of mod_rewrite rules. URL rewrite module includes a GUI tool for converting rewrite rules from mod_rewrite format into IIS format.

    More information

    URL Rewrite Module Walkthroughs - http://learn.iis.net/page.aspx/460/using-url-rewrite-module/

    URL Rewrite Module Configuration Reference - http://learn.iis.net/page.aspx/465/url-rewrite-module-configuration-reference/

    Questions and feedback

    URL Rewrite Forum - http://forums.iis.net/1152.aspx

‹ Previous Thread|Next Thread ›