How to block incoming traffic?


#1

I am trying to deny links from several websites in .htaccess, when I just use code for one, it works, but only when I use the code for one address. The first line is working code, after that is the problem.

[php]redirect 301 /report.html http://www.theratbook.com
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} freelinkdirectory.ws [NC,OR]
RewriteCond %{HTTP_REFERER} free-directory.ws
RewriteCond %{HTTP_REFERER} directory4u.org
RewriteCond %{HTTP_REFERER} freelinkdirectory.ws
RewriteCond %{HTTP_REFERER} dmegs.com
RewriteCond %{HTTP_REFERER} directory4u.org
RewriteCond %{HTTP_REFERER} link-up.net
RewriteCond %{HTTP_REFERER} englishminute.com
RewriteCond %{HTTP_REFERER} freelinkdirectory.net
RewriteCond %{HTTP_REFERER} jayde.com
RewriteCond %{HTTP_REFERER} linkdir4u.com
RewriteCond %{HTTP_REFERER} linkdirectory.com
RewriteCond %{HTTP_REFERER} freelinkdirectory.info
RewriteCond %{HTTP_REFERER} norlinks.com
RewriteCond %{HTTP_REFERER} directory-link.info
RewriteCond %{HTTP_REFERER} build-reciprocal-links.com
RewriteCond %{HTTP_REFERER} thebestlinks.com
RewriteCond %{HTTP_REFERER} norlinks.com
RewriteCond %{HTTP_REFERER} skoobe.biz
RewriteCond %{HTTP_REFERER} linkspank.com
RewriteCond %{HTTP_REFERER} linkverve.com
RewriteCond %{HTTP_REFERER} linkdirectory.ca
RewriteCond %{HTTP_REFERER} worldlinkdirectory.com
RewriteCond %{HTTP_REFERER} leovelo.com
RewriteCond %{HTTP_REFERER} freelinkdirectory.co.uk
RewriteCond %{HTTP_REFERER} directorymaximizer.com
RewriteCond %{HTTP_REFERER} pegasusdirectory.com
RewriteCond %{HTTP_REFERER} livelinkdirectory.com
RewriteCond %{HTTP_REFERER} worldlinkdirectory.com
RewriteCond %{HTTP_REFERER} gonewanderin.com
RewriteCond %{HTTP_REFERER} thefreedirectoryr.com
RewriteCond %{HTTP_REFERER} linkurls.net
RewriteCond %{HTTP_REFERER} designfirms.org
RewriteCond %{HTTP_REFERER} prolinkdirectory.com
RewriteCond %{HTTP_REFERER} gonewanderin.com
RewriteCond %{HTTP_REFERER} thefreedirectory.com
RewriteCond %{HTTP_REFERER} linkdirectory.biz
RewriteCond %{HTTP_REFERER} mallpen.com
RewriteCond %{HTTP_REFERER} somuch.com
RewriteCond %{HTTP_REFERER} itsallgame.com
RewriteCond %{HTTP_REFERER} transops.net
RewriteCond %{HTTP_REFERER} seocompany.ca
RewriteCond %{HTTP_REFERER} onewaytextlink.com
RewriteCond %{HTTP_REFERER} linkmarket.net
RewriteCond %{HTTP_REFERER} getlinks4free.com
RewriteCond %{HTTP_REFERER} inlinkdirectory.com
RewriteCond %{HTTP_REFERER} marketingwebdirectory.com
RewriteCond %{HTTP_REFERER} gowebguide.com
RewriteCond %{HTTP_REFERER} jadoyc.com
RewriteCond %{HTTP_REFERER} genocidefactor.com
RewriteCond %{HTTP_REFERER} a-p-e-x.org
RewriteCond %{HTTP_REFERER} eduology.com
RewriteCond %{HTTP_REFERER} californiadir.com
RewriteCond %{HTTP_REFERER} myanmardir.com
RewriteCond %{HTTP_REFERER} awebsitesdirectory.com
RewriteCond %{HTTP_REFERER} pmdip.org
RewriteCond %{HTTP_REFERER} yepnew.com
RewriteCond %{HTTP_REFERER} diroo.org
RewriteCond %{HTTP_REFERER} directory.jayde.com
RewriteRule .* - [F]
[/php]


#2

Add an [OR] at the end of every RewriteCond except the last one.