tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: RemoteAddrValve and RemoteHostValve
Date Mon, 02 Mar 2009 17:18:58 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zak,

On 2/27/2009 9:28 PM, Zak Mc Kracken wrote:
> 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

You could always use our favorite urlrewrite tool:
http://tuckey.org/urlrewrite/

This can manage many criteria, "chained" or not.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmsFQIACgkQ9CaO5/Lv0PC2mACdEmW+hq/u2W+jY7kgr9Md4Qhm
dBQAnRxW3YE+wsbX3Nabkauk513AtYpc
=DXBg
-----END PGP SIGNATURE-----

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


Mime
View raw message