Created
October 20, 2017 07:19
-
-
Save nlienard/4f38d9a3846dbe56076ba3606df439e9 to your computer and use it in GitHub Desktop.
blocker via apache sur du x-forward-for
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
## Bad boys !! | |
<location /> | |
SetEnvIfNoCase User-Agent "dts agent" GoAway=1 | |
SetEnvIf X-Forwarded-For "^142\.44\.207\.70" GoAway=1 | |
Order allow,deny | |
Allow from all | |
Deny from env=GoAway | |
</location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment