Skip to content

Instantly share code, notes, and snippets.

@hans2103
Created April 13, 2015 08:31
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/471bcfb42cef55657f5b to your computer and use it in GitHub Desktop.
Save hans2103/471bcfb42cef55657f5b to your computer and use it in GitHub Desktop.
Block unwanted sites from crawling your site
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