Skip to content

Instantly share code, notes, and snippets.

@danielmcclure
Created June 15, 2018 01:23
Show Gist options
  • Save danielmcclure/0ef711bb4cda92c64a0cee4548a0fa54 to your computer and use it in GitHub Desktop.
Save danielmcclure/0ef711bb4cda92c64a0cee4548a0fa54 to your computer and use it in GitHub Desktop.
Block Referrer Spam
# BEGIN Block Referrer Spam
SetEnvIfNoCase Referer exampledomain.com spammer=yes
Order allow,deny
Allow from all
Deny from env=spammer
#END Block Referrer Spam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment