Created
December 20, 2014 16:15
-
-
Save ajinkya-bhosale/951dea926e20e66167b1 to your computer and use it in GitHub Desktop.
Allow or Deny Users By IP
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
# ALLOW USER BY IP | |
#<Limit GET POST> | |
# order deny,allow | |
# deny from all | |
# allow from 86.67.58.216 | |
# allow from 117.222.4.100 | |
#</Limit> | |
# BAN USER BY IP | |
<Limit GET POST> | |
order allow,deny | |
allow from all | |
deny from xxx.xxx.xxx.xxx | |
</Limit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment