View Single Post
Old 04-22-2004, 08:56 PM  
riosluts
Confirmed User
 
Join Date: Sep 2003
Posts: 5,250
HTACCESS to ban domains

how do i update the HTACCESS so i can ban certain domains. Here is my current HTACCESS

RehahahahahaEngine On
RehahahahahaCond %{HTTP_REFERER} !^http://(www\.)?MYDOMAIN\.com/ [NC]
RehahahahahaCond %{HTTP_REFERER} !^$
RehahahahahaRule \.(jpe?g|gif|bmp|png|wmv)$ images/nohotlink.jpg [L]

I keep on getting foreign sites sending me traffic. I either want to ban em or send them to my 404.
__________________

riosluts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote