Hey all, My setup: Windows Server 2003 SP2 Single instance of Apache HTTP Server 2.2.15 (C:\Apache) Two instances of Apache Tomcat 6.0.24 in load balancing mode (C:\tomcat1 and C:\tomcat2) JK 1.2.30 used to connect the Apache front end to the two tomcat instances
I've trying to configure the tomcat instances so that the manager webapp can only be access via browser on the Windows Server (i.e. 127.0.0.1). I've RTFM, STFW and nothing seems to work. I believe the process below is correct but it doesn't work. Can anyone see where I'm going wrong? 1) I've edited the following file: C:\tomcat1\webapps\manager\META-INF\context.xml. 2) It's contents is: <?xml version="1.0" encoding="UTF-8"?> <Context docBase="C:\tomcat1\webapps\manager" privileged="true" antiResourceLocking="false" antiJARLocking="false"> <!-- Link to the user database we will get roles from --> <ResourceLink name="users" global="UserDatabase" type="org.apache.catalina.UserDatabase"/> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1"/> </Context> 3) I've stopped and started the tomcat1 service. 4) I try to access the manager webapp from a remote machine ( http://hostname:8080/manager/html) and I can get access. I've also tried adding the text below to C:\tomcat1\conf\Catalina\localhost\manager.xml <Context path="/manager" docBase="C:\tomcat1\webapps\manager" debug="0" privileged="true"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1"/> <!-- Link to the user database we will get roles from --> <ResourceLink name="users" global="UserDatabase" type="org.apache.catalina.UserDatabase"/> </Context> But no joy. Any help appreciated! Thanks Rob --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org