Fantastic article, NeutralizeR.
I've been doing this for a while and it worked previously. Now for whatever reason images show up from my forum directory; but all other directories prevent hotlinks. For example:
Hotlink protection works in (root):
Hotlink protection works in /test folder:
Hotlink protection
fails in /forum directory:
My .htaccess code is:
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://bac-clan.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://bac-clan.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.bac-clan.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.bac-clan.com$ [NC]
RewriteRule .*\.(jpg|jpeg|jpe|gif|png|bmp|mp3|mpeg|mpg|ram|rm|wma|wav|asx|wmv|avi|mov|zip|rar|tar|exe|swf|flv|fla)$ http://www.bac-clan.com/ [R,NC]
Any help is appreciated.