FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – Beta

Today IIS team has released the FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – Beta. This version is based on FastCGI Extension 1.0 and it adds several important improvements and features.

Install the Beta of FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1

Install FastCGI with Web PI

or, download:

Upgrade from FastCGI Extension 1.0 release

If you already have FastCGI Extension version 1.0 installed then the installation package will upgrade it to version 1.5. All the related IIS configuration and settings in fcgiext.ini file will be preserved during upgrade. Note that during upgrade the comments in fcgiext.ini will not be updated and will not mention new configuration settings. However the new settings can still be used after upgrade.

Continue reading “FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – Beta”

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.

Continue reading “URL Rewrite Module 1.1 for IIS 7”

10 URL Rewriting Tips and Tricks

This post describes some of the tips and tricks that one may find useful when solving URL-based problems for their web server or web site. Each tip/trick has a description of a problem and then an example of how it can be solved with IIS 7 URL Rewrite Module.

  1. Add or Remove Trailing Slash
  2. Enforce Lower Case URLs
  3. Canonical Hostnames
  4. Redirect to HTTPS
  5. Return HTTP 503 Status Code in Response
  6. Prevent Image Hotlinking
  7. Reverse Proxy to Another Site/Server
  8. Preserve Protocol Prefix in Reverse Proxy
  9. Rewrite/Redirect Based on Query String Parameter
  10. Avoid Rewriting of Requests for ASP.NET Web Resources

1. Add or Remove Trailing Slash

Many web applications use “virtual URLs” – that is the URLs that do not directly map to the file and directory layout on web server’s file system. An example of such application may be an ASP.NET MVC application with URL format similar to this: http://stackoverflow.com/questions/60857/modrewrite-equivalent-for-iis-7-0 or a PHP application with URL format that looks like this: http://ruslany.net/2008/11/url-rewrite-module-release-to-web/. If you try to request these URLs with or without trailing slash you will still get the same page. That is OK for human visitors, but may be a problem for search engine crawlers as well as for web analytics services. Different URLs for the same page may cause crawlers to treat the same page as different pages, thus affecting the page ranking. They will also cause Web Analytics statistics for this page to be split up.

Continue reading “10 URL Rewriting Tips and Tricks”