title: Disable Tomcat7 Manager
body: <p>The web interface <a href="http://localhost:8080/manager/html" rel="nofollow">http://localhost:8080/manager/html</a>. Is there a way to disable or completely remove it? Just asking so I don't mess up some settings by going in and deleting things willy nilly.</p>
  
  <p>Reason I want to get rid of it is because the server keeps getting blocked due to what I think is malicious scripts brute forcing the password. It locks down and secures itself but I also am unaware this has happened until I check manually. I don't use the web manager so I figure the best way to solve this is to just get rid of it completely. That said if you have another suggestion i'd be open to that as well. I've tried setting up a RemoteAddrValve in manager.xml like below, but i'm still having the issue.</p>
  
  <pre><code>//I changed the ip address for this example.
  &lt;Context path="/manager" 
      docBase="/usr/share/tomcat7-admin/manager" 
      antiResourceLocking="false" privileged="true"&gt;
  
      &lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"
      allow="0\.0\.0\.0" denyStatus="404" /&gt;
  &lt;/Context&gt;
  </code></pre>