Greenguy's Board


Go Back   Greenguy's Board > FAQ
Register FAQ Calendar Today's Posts

Search FAQ Search FAQ
Search Word(s):
Matching Options:
Search in:

What should I do about hotlinking?
The current thought on preventing sites like Fusker/UsefulIdiots/etc from hotlinking your graphics is the following set of rules in your .htaccess file.

If you want to disallow the empty referrer, you can remove the first line of the rule with the !^$ in it.

RewriteEngine on
# leave this line in allow empty referrers, remove to disallow empty referrers
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)?yourdomain\.com(:[0-9]+)?(/.*)?$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*@)?1\.2\.3\.4(:[0-9]+)?(/.*)?$
RewriteRule .*\.(asf|mpg|mpeg|wmv|avi|rm|gif|jpeg|jpg|zip)$ - [NC,F,L]

How do I look up reverse IPs?
http://whois.webhosting.info/ http://www.whois.sc/


All times are GMT -4. The time now is 04:44 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc