remm 2002/07/23 05:13:05 Modified: webapps/admin admin.xml Log: - Add an example of host limiting in the admin webapp. - Patch submitted by Ian Darwin <ian at darwinsys.com> Revision Changes Path 1.2 +8 -1 jakarta-tomcat-catalina/webapps/admin/admin.xml Index: admin.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/admin.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- admin.xml 18 Jul 2002 16:48:16 -0000 1.1 +++ admin.xml 23 Jul 2002 12:13:05 -0000 1.2 @@ -10,6 +10,13 @@ <Context path="/admin" docBase="../server/webapps/admin" 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"/> + --> + <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_admin_log." suffix=".txt" timestamp="true"/>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>