Intelligencia UrlRewriter and IIS7

Just something to remember for all the people who are using the Intelligencia.UrlRewriter httpmodule for friendly urls.
Since I upgraded to Windows 7 I encoutered a problem with IIS 7 and websites using the rewrite module.
The default page (eg. default.aspx) did not fire the urlrewrite module anymore.

Thanks to Scott Guthrie’s wonderfull article about url rewriting I managed to get it working again.
Just add a few lines of code to your web.config and you’re set.

<system.webServer>
<modules runAllManagedModulesForAllRequests=”true”>
<add name=”UrlRewriter” type=”Intelligencia.UrlRewriter.RewriterHttpModule” />
</
modules>
<validation validateIntegratedModeConfiguration=”false” />
</
system.webServer>

for more info read Scott’s blog about url rewriting.

About these ads

There are no comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: