Skip to content

Instantly share code, notes, and snippets.

@neilbradley
Created March 23, 2017 12:53
Show Gist options
  • Save neilbradley/b83b9f64f9e895a021626739fccd4532 to your computer and use it in GitHub Desktop.
Save neilbradley/b83b9f64f9e895a021626739fccd4532 to your computer and use it in GitHub Desktop.
Password Protect Website
# Password protection
AuthType Basic
AuthName "Site Name Stage"
AuthUserFile /.htpasswd
Require valid-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment