4

I've been using ISAPI_Rewrite from Helicon (http://www.helicontech.com/isapi_rewrite/) on a Server 2003 box for years and have always had good luck with it.

I'm migrating all the sites on the 2003 box to a new shiny Server 2008 box. I would prefer to not purchase a new license and I have heard that IIS 7 will have capability built in.

All the rewrites are setup in a .htaccess configuration file just like mod_rewrite for Apache.

Does anyone know if this capability ever got baked into IIS 7 and if so do you know of any good articles that explain how to get it all enabled?

Thanks.

Ryan Smith
  • 8,344
  • 22
  • 76
  • 103

3 Answers3

3

IIS7 does have the functionality built in, as you mentioned. You can either use a custom HttpModule, as described in Tip/Trick: Url Rewriting with ASP.NET.

Alternatively, you could install the the IIS7 Rewrite Module as described here.

Jeromy Irvine
  • 11,614
  • 3
  • 39
  • 52
  • No, it didn't exactly get built-in, you still have to download the modules, as you sort of linked to (still have to search/page through to find). Be accurate in what you post. Because you have good links, I didn't vote this down, but don't mislead people by saying something is "built-in" when it isn't capable out-of-the-box or by simply modifying some installation parameters. It only gets "built-in" once ARR is installed, with all of its dependencies, including the separate urlRewrite module: https://blogs.technet.microsoft.com/erezs_iis_blog/2013/11/27/installing-arr-manually-without-webpi/ – vapcguy Jul 01 '16 at 14:08
0

Yes, check out the IIS 7 URL Rewrite Module.

Chris Fulstow
  • 41,170
  • 10
  • 86
  • 110
0

It isn't built-in until you install the Application Request Router (ARR) IIS Extension, and all of its dependencies, which you have to do in a specific order:

  1. Web Farm Framework module.
  2. External cache module.
  3. URL Rewrite module.

Then the ARR module.

Each requires a separate download from download.microsoft.com, but all are free.

Reference: https://blogs.technet.microsoft.com/erezs_iis_blog/2013/11/27/installing-arr-manually-without-webpi/

vapcguy
  • 7,097
  • 1
  • 56
  • 52