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.

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

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


There are no comments on this post.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: