tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@apache.org>
Subject Re: RemoteAddressValve
Date Wed, 08 Jul 2009 14:12:41 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message