Skip to content

Instantly share code, notes, and snippets.

@kumekay
Created June 26, 2013 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kumekay/5869245 to your computer and use it in GitHub Desktop.
Save kumekay/5869245 to your computer and use it in GitHub Desktop.
http simple auth apache
<Location />
AuthType Basic
AuthName " Test Environment"
AuthUserFile '/path/pass'
Require valid-user
</Location>
htpasswd -c /path/pass username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment