title: Forms auth redirecting css/script includes to the login page with HTTP 302
body: <p>I have some includes on a login page, a css file and a js file.</p>
  <pre><code>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../../ext/resources/css/ext-all.css&quot; /&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;../../ext/bootstrap.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>the requests the browser makes for these get the 302 response. Forms Auth is seeing the request as unauthorized and redirecting them to the login page. It doesn't realise that the requests are coming from the login page in the first place.</p>
  <pre><code>GET http://localhost:50880/ext/resources/css/ext-all.css HTTP/1.1
  
  HTTP/1.1 302 Found
  &lt;html&gt;&lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;&lt;body&gt;
  &lt;h2&gt;Object moved to &lt;a href=&quot;/Account/LogOn?ReturnUrl=%2fext%2fresources%2fcss%2fext-all.css&quot;&gt;here&lt;/a&gt;.&lt;/h2&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  <p>I thought perhaps setting the permissions of the includes folder (ext) to everyone might help.</p>