-
-
Save kwd/3149555 to your computer and use it in GitHub Desktop.
htaccess: allow ip through htpassword protection
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
Deny from all | |
Order deny,allow | |
AuthType Basic | |
AuthName “Restricted” | |
AuthUserFile /path_to_password/.htpasswd | |
Require valid-user | |
Allow from 192.168.1.10 | |
Satisfy Any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment