I want to be able to block a certain number of websites from using my website's bandwidth, but not all of them, as a total block can prevent visitors from accessing images via search engines and email. I using the tutorial on this site (
http://www.javascriptkit.com/howto/htaccess14.shtml) to create an .htaccess file and uploaded the file to my root domain. However, it did not seem to be working - the only alternative at the moment appears to be to block all urls except my own via the HotLink Protection in the cPanel. Any advice on how to remedy this?
Here is what I entered (the urls are the ones I want to block, not allow):
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} sakhtafzar\.com [NC,OR]
RewriteCond %{HTTP_REFERER} simonlebon.aceboard\.com
RewriteCond %{HTTP_REFERER} duranduransjn.aceboard\.fr
RewriteCond %{HTTP_REFERER} myspace\.com
RewriteCond %{HTTP_REFERER}
www.tianya\.cn
RewriteCond %{HTTP_REFERER} blogspot\.com
RewriteCond %{HTTP_REFERER} sozluk.sourtimes\.org
RewriteCond %{HTTP_REFERER} freeforumzone.leonardo\.it
RewriteCond %{HTTP_REFERER}
www.goodee\.cn
RewriteCond %{HTTP_REFERER}
www.liveinternet\.ru
RewriteCond %{HTTP_REFERER} rinconhispano.proboards\.com
RewriteCond %{HTTP_REFERER} duranduran\.sk
RewriteRule .* - [F]