Evitare HOTLINKING con htaccess


# HOTLINKING

RewriteCond %{HTTP_REFERER} .

RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?wikiface\.it/ [NC]

RewriteCond %{HTTP_REFERER} !google\. [NC]

RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]

RewriteCond %{HTTP_REFERER} !msn\. [NC]

RewriteCond %{HTTP_REFERER} !yahoo\. [NC]

RewriteCond %{REQUEST_URI} !^/no_hotlink\.gif$

RewriteRule \.(gif|jpg|png)$ /no_hotlink.gif [NC,L]