Quote:
|
Originally Posted by dustman
FUCK Fusker
Sponsors with Hosted Galleries and all Gallery Submitters beware!
Here is an .htaccess snippet that you guys can use.
Just put this in an .htaccess file in your gallery directories...
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC]
RewriteRule .*[Gg][Ii][Ff]$|.*[Jj][Pp][Gg]$|.*[Jj][Pp][Ee][Gg]$|.*swf$|.*wmv$|.*mpg$ http://www.yourdomain.com/images/hotlink.gif [R,NC]
Feel free to download this /hotlink.gif file to serve from your own box
http://www.thestall.com/images/hotlink.gif
|
I use basically the same thing for my images except for the first rewrite condition which allows someone to enter the image's URL in their browser.
Thanks to Hal for resonding on
another thread I started that asked if he and AVN supported hotlinking: