Mark Brittingham
Mark Brittingham

Reputation: 28875

Why is IIS redirecting as if the default document isn't set?

This is a small thing but it is driving me crazy and I am hoping that an IIS expert can help.

The scenario is simple:

When I navigate to the site with just the base url: www.somesite.com the URL comes back with: www.somesite.com/default.aspx?ReturnUrl=%2f

If I navigate to the full name (www.somesite.com/default.aspx) it does not have the ReturnUrl. So, why, when IIS adds the name, do we get the weird redirect but not when we type it?

Upvotes: 0

Views: 1377

Answers (1)

SLaks
SLaks

Reputation: 887767

You need to add <allow users="?" /> to allow non-logged-in users too.

Upvotes: 2

Related Questions