allow is a regex - you probably want this:

allow="176\.24\..+"

with  allow="176.24.*.*" - you would also let through
176.240.
176.241.
...
176.249.

-Tim

Leo Donahue - PLANDEVX wrote:
I want to restrict web access to a specific web app to only allow it to be 
available on our domain.

If I put the following nested in the <Host> element of my server.xml, is that 
the right way to do it?


<Context path="/mywebapp" docBase="mywebapp" debug=0 privileged="true"

  <Valve className="org.apache.catalina.valves.RemoteAddrValve" 
allow="176.24.*.*"/>

/>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to