Created
June 26, 2013 17:02
-
-
Save kumekay/5869245 to your computer and use it in GitHub Desktop.
http simple auth apache
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
<Location /> | |
AuthType Basic | |
AuthName " Test Environment" | |
AuthUserFile '/path/pass' | |
Require valid-user | |
</Location> |
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
htpasswd -c /path/pass username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment