wood burning stoves
The moose likes Tomcat and the fly likes restricting access to manager and admin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "restricting access to manager and admin" Watch "restricting access to manager and admin" New topic

restricting access to manager and admin

Tobin Jackson

Joined: Sep 01, 2004
Posts: 17
Hello everyone,

I placed the following "Valve" tag in my manager.xml context file.

However, when I try to access the manager app locally i get the big "403:forbidden"... Comment it out and I'm in

I'm using Tomcat 5.0.27/linux. Any ideas?

Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341

In addition to the password restrictions the manager web application could be restricted by the remote IP address or host by adding a RemoteAddrValve or RemoteHostValve. Here is an example of restricting access to the localhost by IP address:

<Context path="/manager" debug="0" privileged="true"
<Valve className="org.apache.catalina.valves.RemoteAddrValve"

I agree. Here's the link: http://aspose.com/file-tools
subject: restricting access to manager and admin
It's not a secret anymore!