View Single Post
Old 06-08-2006, 05:38 AM  
ne0
Confirmed User
 
Join Date: May 2006
Location: brazil
Posts: 781
btw, are they eating your bw, or they're linking your stuff?
if they're linking mod_rewrite would fit just perfect for that.
just put this in .htaccess:
Quote:
RewriteEngine on

# ban referers

RewriteCond %{HTTP_REFERER} ^http://(www\.)?BAD_SITE.*$

RewriteRule .* - [F,L]
dont forget to change BAD_SITE for the agressor domain, in this case nciv.nl

to ban multiple sites use like this:
Quote:
RewriteCond %{HTTP_REFERER} ^http://(www\.)?BAD_SITE.*$ [OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?BAD_SITE_2.*$ [OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?BAD_SITE_3.*$
hope it helps
__________________
hai2u
ne0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote