iis7 url rewrite (remove .aspx) and getting error 404
Posted
by
eimeim
on Server Fault
See other posts from Server Fault
or by eimeim
Published on 2011-10-19T23:54:33Z
Indexed on
2012/10/26
23:04 UTC
Read the original article
Hit count: 217
I have an issue with IIS7 url rewrite module, when I add following rule I get an 404 error on all pages.
<rule name="Remove .aspx" stopProcessing="true">
<match url="(.+)\.aspx" />
<action type="Redirect" redirectType="Permanent" url="{R:1}" />
All I want to do to remove all files extensions. I get lost with this, maybe someone knows the solution?
Thanks in advance.
Regards, eimeim
© Server Fault or respective owner