I'm trying to block a domain using htaccess that is hitbotting my site. I've tried using several code variations like
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^
http://.*site1.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^
http://.*site2.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^
http://.*site3.com/* [NC]
RewriteRule .*
http://www.wherever.com [R,L]
and whatever I do my site always comes up as either a '500 internal server error' or a 403 forbidden page. What am I doing wrong? I really appreciate any help with this.
Thanks.