Created
March 1, 2012 22:57
-
-
Save samarpanda/1953828 to your computer and use it in GitHub Desktop.
Htaccess configuration for password protected directory on web
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
AuthType Basic | |
AuthName "Restricted Resource" | |
AuthUserFile PATH_OF_HTPASSES_FILE | |
Require valid-user | |
# Relplace PATH_OF_HTPASSES_FILE with path to file .htpasses |
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
USER_NAME:ENCODED_PASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment