View Single Post
Old 06-26-2003, 01:04 AM  
Reak
So Fucking Banned
 
Join Date: Mar 2003
Location: 420Calendar.com
Posts: 17,920
Quote:
Originally posted by save11
htaccess question:

Is this the proper format for blocking hotlinking by domain?
sogclub being the domain that is hotlinking

xxx being my (i wish) hehe domain



RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?sogclub.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://xxx.com/ [R,NC]

Also, can you insert ip in place of domain name with this format?
Thanks

ex:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?65.125.235.178.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://xxx.com/ [R,NC]
dont know but i know you need to change you sig..
Reak is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote