Stop Click Bombing From Amazon

Lately in my logs I've seen some Amazon IPs visiting my sites and clickbombing them like mad. The IP addresses are never the same, but they always have an amazonaws referrer.

I'm adding this to my htaccess file and hoping it stops them. Basically it will identify any Amazon AWS referrer and redirect it to the Amazon home page. It seems this will be more effective than reporting abuse to Amazon Web Services.

RewriteEngine on
RewriteCond %{REMOTE_HOST} ^(.*)amazonaws.*
RewriteRule ^(.*)|(.+)$1 [R,L]

I will reply to this post to confirm if it works.

UPDATE: That didn't work.

I went with something much more simple:

order allow,deny
deny from
allow from all

Problem solved!