View Single Post
Old 10-11-2004, 12:21 PM  
Darrell
Confirmed User
 
Join Date: Feb 2003
Location: In bed asleep
Posts: 803
blocking a domain with htaccess (hitbotter)

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.
Darrell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote