Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ISAPI rewrite on IIS Express

With the release of Visual Studio 2010 SP1 and IIS Express we want to run our asp.net 3.5 websites on that instead of our iis5 instance on our local developement machines.

All of our code runs fine except for our url rewrite rules using ISAPI Rewrite. We choose ISAPI_Rewrite 3 because it's very similar to an apache .htaccess file.

How can we use ISAPI Rewrite with iis express?

like image 961
Paul Lemke Avatar asked Jan 04 '11 16:01

Paul Lemke


1 Answers

You have to modify IIS Express applicationHost.config in the same way ISAPI Rewrite modifies the regular IIS applicationHost.config. Usually it will be a module/handlers sections that will get modify. Find out what changes ISAPI Rewrite makes to the regular config (just diff it before and after the installation) and modify IIS Express config at this location: **<user folder>\Documents\IISExpress\config\applicationHost.config**

like image 137
kateroh Avatar answered Oct 14 '22 10:10

kateroh