CODE
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?wwe-club.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?brachman.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?totalhits.com(/)?.*$ [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp)$ [url="http://www.totalhits.com/theft/wweclub1.gif"]http://www.totalhits.com/theft/wweclub1.gif[/url] [R,NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?wwe-club.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?brachman.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?totalhits.com(/)?.*$ [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp)$ [url="http://www.totalhits.com/theft/wweclub1.gif"]http://www.totalhits.com/theft/wweclub1.gif[/url] [R,NC]
The above code just substituted a small image instead of the requested image. Doesn't work anymore, though.
I just tried some code suggested by another user here but it also fails:
CODE
RewriteCond %{HTTP_REFERER} ^https?://
RewriteCond %{HTTP_REFERER} !^https?://(www.)?(wwe-club.com|vegasnews.com)(/.*)?$ [NC]
RewriteRule .(ra?m|zip|[jm]pe?g|mp3|wmv)$ [url="http://wwe-club.com/nohotlink.html"]http://wwe-club.com/nohotlink.html[/url] [R,L,NS,NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?(wwe-club.com|vegasnews.com)(/.*)?$ [NC]
RewriteRule .(ra?m|zip|[jm]pe?g|mp3|wmv)$ [url="http://wwe-club.com/nohotlink.html"]http://wwe-club.com/nohotlink.html[/url] [R,L,NS,NC]
I don't know what changed, but any help would be appreciated.