Skip to content

Instantly share code, notes, and snippets.

@man-oi
Created January 22, 2020 20:12
Show Gist options
  • Save man-oi/5375874cc24799352d0ad65fb4730cc6 to your computer and use it in GitHub Desktop.
Save man-oi/5375874cc24799352d0ad65fb4730cc6 to your computer and use it in GitHub Desktop.
htpasswd
AuthType Basic
AuthName "only for valid users"
AuthUserFile /full/path/.htpasswd
Require valid-user
#php full path: echo realpath('./') . PHP_EOL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment