We are using IIS 7.5(windows 7 and integrated mode) and SiteCore 6.4. I have installed IIS Url Rewrite Feature to rediect permenetly moved url. I have setup a Test folder inside website root for which we do not have any items on sitecore content tree. I have setup url redirect for this folder using URL Rewrite feature of iis 7. But for some reason when i browse the Test folder, it is taking me to sitecore 404 page. Ideally it should redirect the page.
Rewrite rule:
<rewrite>
<rules>
<rule name="Sitecore_local" stopProcessing="true">
<match url="/TestUrlRedirect/" />
<action type="Redirect" url="http://www.google.com" />
</rule>
</rules>
</rewrite>
I am trying to access http://localhost/TestUrlRedirect/