-
-
Save gradosevic/639ba15ba8ed99233d7aa75b18f482d8 to your computer and use it in GitHub Desktop.
htpasswd
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
**INLCUDE htpasswd** | |
To generate .htpasswd: | |
htpasswd -c ./.htpasswd admin | |
Add this in .htaccess: | |
AuthUserFile /home/test/public_html/.htpasswd | |
AuthGroupFile /dev/null | |
AuthName "Development Branch" | |
AuthType Basic | |
<Limit GET POST> | |
require valid-user | |
</Limit> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment