Skip to content

Instantly share code, notes, and snippets.

@kaushalp
Created November 3, 2017 16:40
Show Gist options
  • Save kaushalp/67bae775f093f4e9cddde694ad5f2775 to your computer and use it in GitHub Desktop.
Save kaushalp/67bae775f093f4e9cddde694ad5f2775 to your computer and use it in GitHub Desktop.
Deny Specific IP Address
Order Allow,Deny
Deny from env=DenyAccess
Allow from all
SetENVIf X-Client-IP "xxx.xxx.xxx.xxx" DenyAccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment