title: asp.net change default login page
body: <p>I have a site where i added two separate login pages, one for users and another form admin then i used authorization in web.config <strong>file to block access to the admin files</strong>.</p>
  
  <pre><code>&lt;system.web&gt;
  &lt;authorization&gt;
      &lt;allow roles="Mod"/&gt;
      &lt;deny users="*"/&gt;
  &lt;/authorization&gt;
  </code></pre>
  
  <p></p>
  
  <p>and it work fine but the problem is it <strong>redirects to the users login page instead of the admin's</strong>.</p>
  
  <p>so my question is there a <strong>way to change the default login page</strong>?</p>
  
  <p>using asp.net 4.0 </p>
  
  <p>thanks.</p>