Skip to content

Instantly share code, notes, and snippets.

@quoidautre
Created September 21, 2012 13:23
Show Gist options
  • Select an option

  • Save quoidautre/3761439 to your computer and use it in GitHub Desktop.

Select an option

Save quoidautre/3761439 to your computer and use it in GitHub Desktop.
APACHE: password protection with .htaccess
AuthType Basic
AuthName "restricted area"
AuthUserFile /home/prem/html/protect-dir/.htpasswd
require valid-use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment