I have a simple ASP.NET 3.5 application running under IIS7 under a virtual directory. So the URL of my app is like http://example.com/app. I want to 301-redirect the request
I tried the URL Rewrite method. I.e. this one:
but it sent my browser in an infinite redirect loop. I amended it to the following and it worked fine: