Skip to content

Instantly share code, notes, and snippets.

@paulmist
Last active August 29, 2015 14:14
Show Gist options
  • Save paulmist/54aa2a1a9151388ebc3a to your computer and use it in GitHub Desktop.
Save paulmist/54aa2a1a9151388ebc3a to your computer and use it in GitHub Desktop.
anti-spam .htaccess
SetEnvIfNoCase Referer semalt.com spambot=yes
SetEnvIfNoCase Referer econom.com spambot=yes
SetEnvIfNoCase Referer buttons-for-website.com spambot=yes
SetEnvIfNoCase Referer ilovevitaly.com spambot=yes
SetEnvIfNoCase Referer ilovevitaly.ru spambot=yes
SetEnvIfNoCase Referer darodar.com spambot=yes
SetEnvIfNoCase Referer 7makemoneyonline.com spambot=yes
SetEnvIfNoCase Referer myftpupload.com spambot=yes
SetEnvIfNoCase Referer priceg.com spambot=yes
SetEnvIfNoCase Referer cenokos.ru spam=yes
SetEnvIfNoCase Referer cenoval.ru spam=yes
Order allow,deny
Allow from all
Deny from env=spambot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment