Iis url rewrite 2.0, URL rewriting, pseudo-static

Source: Internet
Author: User

It seems that the iis url rewrite 2.0 is not a short time. Because there is no special requirement, he is not interested in research.

Recently maintainedProgramThe iis url rewrite 2.0 is used, and the rewrite rules are written in webconfig.

To avoid site restart caused by frequent webconfig modification, the iis url rewrite 1.1 provided by MS is rewritten, And the rules are stored in a separate data file, the File Cache dependency is used for real-time modification.

Now, the configuration of 2.0 is still written in webconfig. Do you want me to repeat the configuration of 2.0 again.

I found 2.0 of related information andSource codeIt is found that it supports expansion and supports storing rules in other data files.

Http://www.iis.net/download/URLRewrite For more information, see the official documentation.

The 2.0 features are listed here:

 

Features
  • Rules-based URL rewriting Engine
  • Rules-based response rewriting Engine
  • Support for custom. Net rewrite providers
  • Regular Expression Pattern Matching
  • Wildcard pattern matching
  • Global and distributed Rewrite Rules
  • Rewriting within the content of specific HTML tags
  • Pre-conditions for outbound rules
  • Access to server variables and HTTP headers
  • Rewriting of server variables and HTTP request headers
  • Rewriting of HTTP Response Headers
  • Allow list for server Variables
  • Htmlencode Function
  • Built-in Rule templates
  • Reverse Proxy rule template
  • Rule templates for Search Engine Optimization
  • Various rule actions including redirect and request abort
  • Tracking capture groups internal SS Rule Conditions
  • Logging of rewritten URLs
  • Updated User Interface in IIS Manager
  • Integrated User Interface for managing Rewrite Rules and rewrite maps
  • Integrated User Interface for importing of Apache mod_rewrite rules
  • Integrated User Interface for testing Regular Expression and wildcard patterns
  • Support for IIS kernel-mode and user-mode output caching
  • Lowercase Conversion Function
  • Rewrite maps to generate the substitution URL during Rewriting
  • Failed request tracing support

There are many benefits. You can understand that some aspects are still available.

 

  • Support for custom. Net rewrite providers

    This feature allows you to easily modify the storage location.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.