View Single Post
Old 08-02-2001, 04:25 PM  
m0rph3us
Confirmed User
 
Join Date: Mar 2001
Location: Principality of Sealand
Posts: 2,033
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.alloweddomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://alloweddomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://216.111.111.121/ [NC]
RewriteRule /* http://www.domainorpagetoberedirectedhotlinkers.com [R,L]

This prevents all type of hotlinking, even HTML pages...you might wanna modify it to only prevent images and videos like so:

RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://sponsorusually.com
m0rph3us is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote