-
-
Save ionurboz/f2d4cb750f24be414c8a81d501190a8c to your computer and use it in GitHub Desktop.
(Passwd) Basic Authentication .htaccess example
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
| Options +Indexes | |
| <Files *> | |
| AuthType Basic | |
| AuthName "Please enter your username and password." | |
| AuthUserFile .htpasswd | |
| Require valid-user | |
| </Files> |
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
| #test: test | |
| test:$apr1$B0PZQ...$asbsdGFmsOmaKsTSEE81F. | |
| # generator: http://sherylcanter.com/encrypt.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment