Created
December 7, 2020 08:46
-
-
Save elliottmangham/04b72049ecf7d5cc992c3aca57159c86 to your computer and use it in GitHub Desktop.
Apache / Password-protect directory
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
# ---------------------------------------------------------------------- | |
# Password protect | |
# ---------------------------------------------------------------------- | |
AuthType Basic | |
AuthName "Password Protected Area" | |
AuthUserFile /dir/to/root/.htpasswd | |
Require valid-user |
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
# Password must be encrypted | |
username:password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment