Skip to content

Instantly share code, notes, and snippets.

@hans2103
Created January 30, 2015 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hans2103/330e3b70405a50ae57bd to your computer and use it in GitHub Desktop.
Save hans2103/330e3b70405a50ae57bd to your computer and use it in GitHub Desktop.
block semalt.com and other bad guys in .htaccess
SetEnvIfNoCase Referer buttons-for-website.com spammer=yes
SetEnvIfNoCase Referer semalt.com spammer=yes
Order allow,deny
Allow from all
Deny from env=spammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment