IIS redirects to url beginning with "http://http" although syntax in web.config file appears to be alright

Posted by user1608920 on Stack Overflow See other posts from Stack Overflow or by user1608920
Published on 2014-05-31T15:06:00Z Indexed on 2014/05/31 15:25 UTC
Read the original article Hit count: 138

Here's what I have so far:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <location path="osb">
    <system.webServer>
      <httpRedirect enabled="true" exactDestination="true" destination="http://50.63.54.135/app/osb" httpResponseStatus="Permanent" />
    </system.webServer>
  </location>
</configuration>

The above redirect works, but it takes me to

http://http//50.63.54.135/app/osb

instead of just

http://50.63.54.135/app/osb

This produces an 404 error. I tried to remove "http://" from destination. Same effect. What am I missing ?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about iis