Created
September 1, 2021 14:56
-
-
Save fernandiez/ce5c7fd2651bee5379ae9d84470bbf63 to your computer and use it in GitHub Desktop.
Bloqueo de IPs .htaccess - Allow Deny
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
# IPs whitelist - block | |
# deny all Ips | |
# allow only certain IPs or IP range | |
ErrorDocument 403 /error403.html | |
order deny,allow | |
deny from all | |
allow from xx.xx.xx.xx | |
allow from 55.99.66.111 | |
allow from 55.99.66.0/23 | |
allow from 55.99.66.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment