View Single Post
Old 01-06-2005, 11:49 AM  
brand0n
been very busy
 
Join Date: Nov 2002
Location: the queen city
Posts: 26,983
Quote:
Originally Posted by fusionx
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..
hey thats cool. adding that now.
__________________
want to buy this spot for cheap? it is of course for sale. long term deals are always the best bet. brand0n/ at/ a o l dot commies.
brand0n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote