Last active
December 25, 2015 18:29
-
-
Save martijngastkemper/7021193 to your computer and use it in GitHub Desktop.
Solution to block an user-agent with htaccess. In this example 80legs crawler is blocked.
This file contains hidden or 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
BrowserMatchNoCase 80legs bad_bot | |
Order Deny,Allow | |
Deny from env=bad_bot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment