Created
May 7, 2015 05:38
-
-
Save xemoe/8e76fa3753ac3e7ea5c8 to your computer and use it in GitHub Desktop.
Apache basic authen
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
# Create htpasswd | |
htpasswd -c ${filename} ${username} | |
# Create htaccess file | |
AuthUserFile ${filename} | |
AuthType Basic | |
AuthName "${message}" | |
Require valid-user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment