Author: kkolinko
Date: Sat Mar 16 09:08:34 2013
New Revision: 1457227
URL: http://svn.apache.org/r1457227
Log:
CTR: docs
Add RemoteAddrValve to Manager configuration examples.
It is backport of r1456721
Modified:
tomcat/tc6.0.x/trunk/ (props changed)
tomcat/tc6.0.x/trunk/RUNNING.txt
tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml
Propchange: tomcat/tc6.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1456721
Modified: tomcat/tc6.0.x/trunk/RUNNING.txt
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/RUNNING.txt?rev=1457227&r1=1457226&r2=1457227&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/RUNNING.txt (original)
+++ tomcat/tc6.0.x/trunk/RUNNING.txt Sat Mar 16 09:08:34 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" useHttpOnly="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/tc6.0.x/trunk/webapps/docs/manager-howto.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml?rev=1457227&r1=1457226&r2=1457227&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml Sat Mar 16 09:08:34 2013
@@ -72,8 +72,11 @@ Manager web application <code>Context</c
<code>$CATALINA_BASE/conf/[enginename]/[hostname]</code> folder. Here is an
example:</p>
<pre>
-<Context path="/manager" privileged="true"
- docBase="/usr/local/tomcat6/webapps/manager">
+<Context
+ docBase="/usr/local/tomcat6/webapps/manager"
+ antiResourceLocking="false" privileged="true" useHttpOnly="true">
+ <Valve className="org.apache.catalina.valves.RemoteAddrValve"
+ allow="127\.0\.0\.1" />
</Context>
</pre>
@@ -174,9 +177,9 @@ could be restricted by the remote IP add
<code>RemoteAddrValve</code> or <code>RemoteHostValve</code>. Here is
an example of restricting access to the localhost by IP address:</p>
<pre>
-<Context privileged="true">
- <Valve className="org.apache.catalina.valves.RemoteAddrValve"
- allow="127\.0\.0\.1"/>
+<Context antiResourceLocking="false" privileged="true"
useHttpOnly="true">
+ <Valve className="org.apache.catalina.valves.RemoteAddrValve"
+ allow="127\.0\.0\.1"/>
</Context>
</pre>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]