tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zak Mc Kracken <zakmc...@yahoo.it>
Subject RemoteAddrValve and RemoteHostValve
Date Sat, 28 Feb 2009 02:28:47 GMT
Hi all,

I'd like to filter incoming requests with this criterion:

if it's www.somewhere.com -> OK
else if it's 1.2.3.4 -> OK
else -> KO

Is it possible to do that by combining RemoteHostValve and
RemoteAddrValve? How? I simply tried to write them one after another,
but all is blocked, it seems they cannot be used together...

Thanks in advance for any help.

Marco.


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


Mime
View raw message