Created
May 13, 2013 21:06
-
-
Save osde8info/5571528 to your computer and use it in GitHub Desktop.
htaccess anti-spam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# block referrer spam | |
SetEnvIfNoCase Referer ".*(badword1|badword2|badword3|badword4|xxx).*" BadReferrer | |
order deny,allow | |
deny from env=BadReferrer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment