-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Flemion,

Flemion Shafeeq wrote:
> We restrict IP addresses to our application using RemoteAddressValve.
> But we have a requirement of redirecting the request to a customized html
> static page when we get request from such denied IP's.
> How do i do this.
> Is it possible to customize this class to do this redirection and deploy it
> in the tomcat application?

Instead of using RemoteAddressValve, you could use
http://tuckey.org/urlrewrite/ to redirect all banned IPs to your
preferred page.

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

iEYEARECAAYFAklFJYsACgkQ9CaO5/Lv0PBPZACgkUz73sRIRHnl0bocDr+RTo2V
s08AnRwlpYJVQcEv8AFhLpKKSHNcxtKC
=XSHu
-----END PGP SIGNATURE-----

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

Reply via email to