title: IIS Keeps Redirecting to Login.aspx when I set Default.aspx as default page
body: <p>IIS Keeps Redirecting me to <code>Login.aspx</code> when I set <code>Default.aspx</code> as default page. In my dev environment its working fine, I get to the right page, but as soon as I publish and try from the IIS server login.aspx always comes first.</p>
  
  <p>I have made sure anon users are allowed :</p>
  
  <pre><code>  &lt;location path="Default.aspx"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="?" /&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  </code></pre>
  
  <p>And its set as default url (further down the config) :</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="Login.aspx" defaultUrl="Default.aspx"&gt;&lt;/forms&gt;
  &lt;/authentication&gt;
  &lt;authorization&gt;
    &lt;deny users="?" /&gt;
  &lt;/authorization&gt;
  </code></pre>
  
  <p>I even set the default page in IIS, but it resets it every time on publish.</p>