Skip to content

Commit

Permalink
Correct example. (The manager webapp was in server/webapps in TC 5.5,…
Browse files Browse the repository at this point in the history
… but not now.)

Add RemoteAddrValve to Manager configuration examples.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1456721 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Konstantin Kolinko committed Mar 14, 2013
1 parent e6e7007 commit 853c9e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RUNNING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions webapps/docs/manager-howto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ Manager web application <code>Context</code> to a new host install the
<code>$CATALINA_BASE/conf/[enginename]/[hostname]</code> folder. Here is an
example:</p>
<pre>
&lt;Context privileged="true"
docBase="/usr/local/kinetic/tomcat7/server/webapps/manager"&gt;
&lt;Context privileged="true" antiResourceLocking="false"
docBase="${catalina.home}/webapps/manager"&gt;
&lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.0\.0\.1" /&gt;
&lt;/Context&gt;
</pre>

Expand Down

0 comments on commit 853c9e4

Please sign in to comment.