Mod_rewrite for IIS

Freshness Warning
This article is over 17 years old. It's possible that the information you read below isn't current.

One of the most useful features of Apache is mod_rewrite, a module that allows Apache to translate requests for one URL into another. For instance, if your ecommerce site uses a URL like http://site.com/cgi-bin/catalog/product.pl?id=1234, you can use mod_rewrite so that shoppers can instead type and bookmark http://site.com/product/1234. Mod_rewrite will transparently translate that URL into what the server needs.

There are now two modules for IIS that perform the same type of function. IISRewrite implements most of mod_rewrite’s configuration and is used in much the same way as the Apache module. It costs $200.

ISAPI_Rewrite is very similar. It also includes most of the features of mod_rewrite and uses a text configuration file like Apache. It comes in three versions. A free version is available, but will be difficult to use if you host more than one site on a single Web server. A full version that supports different configuration files for each virtual site costs $46 per machine or you can buy an enterprise-wide license for $418.

dino
January 6, 2005 6:28 AM

Try this: http://cheeso.members.winisp.net/dl/IonicIsapiRewriter.zip ISAPI filter that rewrites URLs, something like Apache's mod_rewrite. It uses regular expressions (via PCRE). Implemented in C, Open source, BSD-style license. Compiles with the (free) Microsoft Visual C++ 2003 toolkit. http://msdn.microsoft.com/visualc/vctoolkit2003/ The code does not use MFC. The ISAPI filter includes a test tool that allows you to test your rewrite rules against a set of sample URLs that you provide.

Steven
October 2, 2005 1:02 PM

Free and open source? http://www.iismods.com

stan
May 22, 2007 3:16 AM

IIS Mod-Rewrite ( http://www.micronovae.com/ModRewrite/ModRewrite.html ) is a solid solution with true mod_rewrite compatibility and .htaccess support. Rich settings, regex tester, automatic updates, and version history! IMO it's by far the best.

stock
June 22, 2007 2:38 AM

It looks that IIS Mod-Rewrite has a lead over the other solutions. I recently visited ISAPI Rewrite and it looks they are running behind IIS Mod-Rewrite. They are rushing to copy IIS Mod-Rewrite and announced a new mod_rewrite compatible beta version. As far as I tried the beta version, it has a lot of design faults. Although it's syntax is similar with mod_rewrite, it's behavior is unfortunatelly a big mess. Hope they will improve it... Regarding www.iismods.com... that site does not even exist anymore. Regarding IISRewrite... this tool has not been updated since 2002! And it costs a whole fortune compare to what it offers. IMO, IIS Mod-Rewrite is by far the best solution.

Vladimere
February 13, 2008 3:56 AM

I'd like to see the IP addresses of 'stan' and 'stock' as I reckon they are both the same people. Moderators; If they are then delete both of them as they are skewing opinion.

steve
March 20, 2009 4:05 PM

Clearly IIS Mod-Rewrite is THE enterprise solution in today's expanding global market. Demands for outstanding performance and flexible scalability require the greatest server solution!!

Paolo
May 20, 2009 11:56 PM

Thanks! I thought there's no mod_rewrite like function in IIS.

Your comments:

Text only, no HTML. URLs will automatically be converted to links. Your email address is required, but it will not be displayed on the site.

Name:

Not your company or your SEO link. Comments without a real name will be deleted as spam.

Email: (not displayed)

If you don't feel comfortable giving me your real email address, don't expect me to feel comfortable publishing your comment.

Website (optional):

Follow me on Twitter

Best Of

  • Simplified Form Errors One of the most frustrating experiences on the Web is filling out forms. When mistakes are made, the user is often left guessing what they need to correct. We've taken an approach that shows the user in no uncertain terms what needs to be fixed.
  • Pitching Bloggers Forget what you learned in your PR classes. Start acting like a human instead of a marketer, and the humans behind the blogs will respond.
  • How not to apply for a job Applying for a job isn't that hard, but it does take some minimal effort and common sense.
  • Embrace the medium The Web is different than print, television, or any other medium. To be successful, designers must embrace those differences.
  • Newly Digital Newly Digital is an experimental writing project. I've asked 11 people to write about their early experiences with computing technology and post their essays on their weblogs. So go read, enjoy, and then contribute. This collection is open to you. Write up your own story, and then let the world know about it.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

Recently

Building the Customer-Informed Product (Aug 15)
Strong products aren't composed of a list of features dictated by customers. They are guided by strong visions, and the execution of that vision is the primary focus of product development.
Assumptions and project planning (Feb 18)
When your assumptions change, it's reasonable that your project plans and needs change as well. But too many managers are afraid to go back and re-work a plan that they've already agreed to.
Feature voting is harmful to your product (Feb 7)
There's a lot of problems with using feature voting to drive your product.
Encouraging 1:1s from other managers in your organization (Jan 4)
If you’re managing other managers, encourage them to hold their own 1:1s. It’s such an important tool for managing and leading that everyone needs to be holding them.
One on One Meetings - a collection of posts about 1:1s (Jan 2)
A collection of all my writing on 1:1s
Are 1:1s confidential? (Jan 2)
Is the discussion that occurs in a 1:1 confidential, even if no agreed in the meeting to keep it so?
Skip-level 1:1s are your hidden superpower (Jan 1)
Holding 1:1s with peers and with people far below you on the reporting chain will open your eyes up to what’s really going on in your business.
Do you need a 1:1 if you’re regularly communicating with your team? (Dec 28)
You’re simply not having deep meaningful conversation about the process of work in hallway conversations or in your chat apps.

Subscribe to this site's feed.

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

Twitter, etc: akalsey

Resume

PGP Key

©1999-2019 Adam Kalsey.