View Single Post
Old 01-06-2005, 11:09 AM  
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
This will block any referring site with "fusker" in the domain string.

RewriteEngine on
RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC]

If you want to return a specific image in it's place, use

RewriteRule .* http://www.whoever.com/your_hotlink_dir/hotlink.jpg [F,R]

I'd use a watermarked image promoting your site. Don't waste bandwidth by using goatse or whatever. I prefer to just drop the request.

Note: on some servers, .* needs to be (.*)

not sure why yet..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote