Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
persistent spam referrers
We have persistent spam referrers and I am planning to block them with htaccess. What would the best method be?
A
RewriteEngine On
RewriteCond %{HTTP_REFERER} domain1\.tld [NC,OR]
RewriteCond %{HTTP_REFERER} domain2\.tld
RewriteRule .* - [F]
or B
<Limit GET>
Order allow,deny
Allow from all
Deny from domain1.tld
Deny from domain2.tld
</Limit>
?
I’m not sure about the difference in the above snippets.
Last edited by colak (2011-06-29 12:02:03)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: persistent spam referrers
bump:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1