Last active
February 16, 2018 09:47
-
-
Save syammohanmp/3b3fbeef6a7514324049665da8dd5401 to your computer and use it in GitHub Desktop.
How to add HTTP Password to a domain
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
# Password protect site | |
AuthType Basic | |
AuthName "Restricted Access" | |
AuthUserFile /path/.htpasswd | |
Require user admin |
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
admin:$apr1$1HIxQAG9$XLaGANTH47yeaBy.KAZLN/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment