>
>I believe the RemoteAddrValve uses regular expression, so try a leading

>period as I'm not sure how reg exp treats a leading asterik.
>
>'.*' should allow all
>
>Charlie
>
>I also noticed that this should be 'allow', not 'accept'
>
>Charlie

Charlie,

Thank you so much.  It turned out to be the "allow" not "accept" thing.

The following now works - restricting manager servlet to stuff behind
the firewall ONLY (this has been tested both inside and out).

<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager"
  debug="0" privileged="true">
  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
     allow="127.0.0.1,10.1.1.*"/>
</Context>

Note both localhost (127.0.0.1 and a wildcarded 10 series (10.1.1.*)
have been allowed.

THanks again,

-RIchard



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to