View Single Post
Old 03-09-2002, 11:18 AM  
pipp
Confirmed User
 
Join Date: Oct 2001
Location: Where the sun don't shine
Posts: 1,185
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://0.0.0.0.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://0.0.0.0:80.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.yourdomain.com/hotlinkers.html

Works like a charm. Just replace the domain and ip with your domain and ip. You should have a time based redirect as well wich trows the hotlinkers to a url of your choise
pipp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote