title: how redirect to a login page specified in a web.config file inside folder
body: <p>I use this web.config file inside a folder to block users. I want to redirect to the page specified here:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  &lt;system.web&gt;
  &lt;authentication&gt;
  &lt;forms loginUrl="~\paginas\login\loginvendedor2.aspx"/&gt;
  &lt;/authentication&gt;
  &lt;authorization &gt;
  &lt;deny users="?"/&gt;
  &lt;/authorization&gt;
  &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>but I get redirected to the page specified in the web.config file in the root of the site</p>