Paul Lemke
Paul Lemke

Reputation: 5534

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?

Upvotes: 5

Views: 2170

Answers (2)

Paul Lemke
Paul Lemke

Reputation: 5534

Direct from the Helicon Tech team: IIS Express isn't supported.

We'll that stinks.

Upvotes: 3

kateroh
kateroh

Reputation: 4406

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**

Upvotes: 3

Related Questions