tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Denying IPs using the Valve command in context.xml
Date Tue, 04 Oct 2011 17:40:57 GMT
2011/10/4 Sanford Stein <Sanford.Stein@cybertools.biz>
>
> 1.  I am using wildcards in my IP addresses, such as:
> <Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="*.googlebot.com"/>
>
> From my reading of the documentation, this should be OK, but when this line is present
I cannot access any of my
> servlets from any IP address.   Do wildcards work here and, if so, what am I doing
wrong?

1. Please do not send HTML e-mails to this mailing list.
2. Your exact Tomcat version = ?
3. Wildcards never worked there. RemoteAddrValve uses Regular expressions.
4. RemoteAddrValve  works with IP addresses, not host names.

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


Mime
View raw message