Skip to content

Instantly share code, notes, and snippets.

@nlienard
Created October 20, 2017 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nlienard/4f38d9a3846dbe56076ba3606df439e9 to your computer and use it in GitHub Desktop.
Save nlienard/4f38d9a3846dbe56076ba3606df439e9 to your computer and use it in GitHub Desktop.
blocker via apache sur du x-forward-for
## 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