Skip to content

Instantly share code, notes, and snippets.

@mchirico
Created December 28, 2014 13:33
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 mchirico/86046a36e6a5bc232079 to your computer and use it in GitHub Desktop.
Save mchirico/86046a36e6a5bc232079 to your computer and use it in GitHub Desktop.
Example Deny rules for
<Directory "/var/www/html">
order allow,deny
allow from all
deny from 1.0.1.0/24
deny from 1.0.128.0/17
deny from 1.0.2.0/23
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment