title: How to fix Tomcat HTTP Status 403: Access to the requested resource has been denied?
body: <p>I am trying to setup Tomcat with my current source code.
  I downloaded the zip from tomcat site (6.0.32).</p>
  
  <p>I then put in the config file for my project in <code>tomcatDir\conf\Catalina\localhost</code></p>
  
  <p>I then added the users to <code>tomcat-users.xml</code></p>
  
  <p>When I hit my application using <code>localhost:8080/&lt;context root&gt;</code>, I get the login prompt as I am supposed to. After providing the right credentials, the tomcat throws 403 error.
  I am able to access the manager with <code>localhost:8080/manager/</code></p>
  
  <p><code>tomcat-users.xml</code>: </p>
  
  <pre><code>&lt;role rolename="manager"/&gt;
  &lt;role rolename="admin"/&gt;
  &lt;user username="admin" password="5c50nD" roles="admin,manager"/&gt;
  &lt;user username="nih\kishorev" password="altum" roles="admin,manager"/&gt;
  </code></pre>