Skip to content

Instantly share code, notes, and snippets.

@yudaprawira
Created September 1, 2016 04:13
Show Gist options
  • Save yudaprawira/87bea0c4e73f559d294e3e646cc36c98 to your computer and use it in GitHub Desktop.
Save yudaprawira/87bea0c4e73f559d294e3e646cc36c98 to your computer and use it in GitHub Desktop.
protect directory
AuthName "Secure Area"
AuthType Basic
AuthUserFile /path/to/your/directory/.htpasswd
require valid-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment