Hi I am using tomcat-5.0.27-r6,Sun JDK 1.5.0.12 on gentoo OS I have a clarification regarding restricting webapps/myapps to localhost I have created myapps.xml under /etc/tomcat5/Catalina/localhost/myapps.xml myapps.xml contains
######################################################################################### <!-- Context configuration file for the Tomcat Administration Web App $Id: admin.xml,v 1.3 2004/02/20 17:09:19 remm Exp $ --> <Context path="/myapps" docBase="${catalina.home}/webapps/myapps" debug="0" privileged="true"> <!-- Uncomment this Valve to limit access to the Admin app to localhost for obvious security reasons. Allow may be a comma-separated list of hosts (or even regular expressions). <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.0.0.1"/> --> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.0.0.1"/> <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_admin_log." suffix=".txt" timestamp="true"/> </Context> ######################################################################################### is that correct what i am doing ? Do i need to restart tomcat application server ? Thanks and Regards Kaushal