title: ASP.NET Authentication asking to login for default page
body: <p>I added authentication forms to my ASP.NET project. The main page (default.aspx in my case) should not be password protected, so I added this line to the web.config:</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;
  </code></pre>
  
  <p></p>
  
  <p>The problem is that when I enter the URL, say <a href="http://mywebapp.university.edu/" rel="nofollow">http://mywebapp.university.edu/</a>, I got the login page. Sure enough, if I enter <a href="http://mywebapp.university.edu/default.aspx" rel="nofollow">http://mywebapp.university.edu/default.aspx</a>. then I got to the page without having to provide any credential. What can I do so if I enter the URL I get served the default.aspx page without having to enter it explicitly on the url?</p>
  
  <p>Thanks!</p>