Skip to content

Instantly share code, notes, and snippets.

@cyancey76
Last active September 19, 2019 16:51
Show Gist options
  • Save cyancey76/1e4830b817e347e3b441479cba07f0cb to your computer and use it in GitHub Desktop.
Save cyancey76/1e4830b817e347e3b441479cba07f0cb to your computer and use it in GitHub Desktop.
.htaccess password protect #htaccess
AuthType Basic
AuthName "Password Protected Area"
AuthUserFile /path/to/.htpasswd
Require valid-user
user:$apr1$oPFKtZHg$CtSs.3bl6dM9BjgsFVSV50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment