On Sun, Jul 20, 2003 at 04:26:21PM +1200, Vik Olliver wrote:
> Anyone got ideas for a rewrite rule or somesuch that'll stop Internet
> Exploiter users accessing my Apache proxy?

Use mod_rewrite to detect the HTTP_USER_AGENT string ...

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Explorer.*
RewriteRule ^/$ /buggeroff.html [L]

See http://httpd.apache.org/docs/mod/mod_rewrite.html for details.

Seeing as your apache has to look at the incoming request, get it to do
the logic of rejection. don't fire up some CGI or PHP code to do it for
you ... :-)

-jim

Reply via email to