Created
June 19, 2014 08:01
-
-
Save markhowellsmead/12664b196ec91217862c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Protect folder using htpasswd file | |
# www.mhm.li | [email protected] | 6/2014 | Free use, no credit required | |
AuthName "Private area" | |
AuthType Basic | |
AuthUserFile /path/to/webroot/.htpasswd | |
AuthGroupFile /dev/null | |
require valid-user | |
Order allow,deny | |
Allow from xxx.xxx.xx.xxx | |
Allow from xxx.xxx.xx.xxx | |
satisfy any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment