A small extract from the filtering lines of my .htaccess file looks like this:
Quote:
RewriteEngine On
# Blank (or "-") Referer *and* User Agent
RewriteCond %{HTTP_REFERER} ^-?$
RewriteCond %{HTTP_USER_AGENT} ^-?$
RewriteRule .* - [F]
# Address harvesters
RewriteCond %{HTTP_USER_AGENT} ^(autoemailspider|ExtractorPro) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^E?Mail.?(Collect|Harvest|Magnet|Reaper|Siphon|Sweeper|Wolf) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (DTS.?Agent|Email.?Extrac) [NC]
RewriteRule .* - [F]
|
When 'code red' was more prevalant than it is today, I redirected all requests to Micro$oft
mod_rewrite can be a very powerful tool if used correctly.
AFAIK Apache is the only server it is available on, but as a large number of hosting companies prefer Apache, you should be OK