Author: kkolinko
Date: Thu Mar 14 23:41:36 2013
New Revision: 1456721
URL: http://svn.apache.org/r1456721
Log:
Correct example. (The manager webapp was in server/webapps in TC 5.5, but not
now.)
Add RemoteAddrValve to Manager configuration examples.
Modified:
tomcat/trunk/RUNNING.txt
tomcat/trunk/webapps/docs/manager-howto.xml
Modified: tomcat/trunk/RUNNING.txt
URL:
http://svn.apache.org/viewvc/tomcat/trunk/RUNNING.txt?rev=1456721&r1=1456720&r2=1456721&view=diff
==============================================================================
--- tomcat/trunk/RUNNING.txt (original)
+++ tomcat/trunk/RUNNING.txt Thu Mar 14 23:41:36 2013
@@ -314,6 +314,8 @@ The file will look like the following:
<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="${catalina.home}/webapps/manager"
antiResourceLocking="false" privileged="true" >
+ <Valve className="org.apache.catalina.valves.RemoteAddrValve"
+ allow="127\.0\.0\.1" />
</Context>
See Deployer chapter in User Guide and Context and Host chapters in the
Modified: tomcat/trunk/webapps/docs/manager-howto.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/manager-howto.xml?rev=1456721&r1=1456720&r2=1456721&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/manager-howto.xml (original)
+++ tomcat/trunk/webapps/docs/manager-howto.xml Thu Mar 14 23:41:36 2013
@@ -71,8 +71,10 @@ Manager web application <code>Context</c
<code>$CATALINA_BASE/conf/[enginename]/[hostname]</code> folder. Here is an
example:</p>
<pre>
-<Context privileged="true"
- docBase="/usr/local/kinetic/tomcat7/server/webapps/manager">
+<Context privileged="true" antiResourceLocking="false"
+ docBase="${catalina.home}/webapps/manager">
+ <Valve className="org.apache.catalina.valves.RemoteAddrValve"
+ allow="127\.0\.0\.1" />
</Context>
</pre>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]