Where is IIS7 redirect occuring?

Posted by neildeadman on Server Fault See other posts from Server Fault or by neildeadman
Published on 2012-10-24T10:13:18Z Indexed on 2012/10/24 11:03 UTC
Read the original article Hit count: 281

Filed under:
|

I have a site that is set up in IIS7 and is working (although I don't understand how).

The binding is www.mysite.fr on port 80. In the root of the site there are no files but several folders.

The site loads fine but I don't understand how it is loading?

If I go to https://www.mysite.fr/ it redirects to https://www.mysite.fr/fr/ which redirects back to https://www.mysite.fr/

So we end up in an endless loop which fails. Using fiddler it is a 301 redirect but I have no idea where this is set! I guess it might be in the website code but as I don't know which file is loaded first, I don't know where to look!

Any ideas??

All other sites are working fine...

© Server Fault or respective owner

Related posts about iis7

Related posts about 301-redirect