title: Forms Authentication not working in .html file
body: <p>I am using forms authentication in IIS7 to password-protect a dev site, but the authentication seems to get by-passed when the site contains only static HTML files + login.aspx + web.config.</p>
  
  <p>When I renamed the files to .aspx, I am prompted with the login form I am not doing anything fancy. I have a very simple login script and it should just redirect to index.html afterward.</p>
  
  <p>Any suggestions? To summarize, the entire site is using HTML (for now) and needs to be password protected.</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
        &lt;forms defaultUrl="/" loginUrl="/Login.html" timeout="360" slidingExpiration="true"&gt;
  
        &lt;/forms&gt;
      &lt;/authentication&gt;
      &lt;authorization&gt;
        &lt;deny users="?"/&gt;
      &lt;/authorization&gt;
  </code></pre>