-
-
Save subimage/e29080239104edb0a9b5 to your computer and use it in GitHub Desktop.
Apache directives to block nasty Baidu spider from stressing out your server.
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
<Directory "/your/path/here"> | |
Options FollowSymLinks | |
AllowOverride None | |
Order allow,deny | |
# evil mean spider... | |
Deny from .baidu.com | |
Allow from all | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment