htpasswd / htdigest

AuthType Basic

AuthType:
Realm:
Algorithm: Apache 2, Nginx
Username:
Password: Show


Configuration

Apache directives

AuthType Basic
AuthName "realm"
AuthUserFile /path/.htpasswd
Require valid-user

Nginx directives

auth_basic "realm";
auth_basic_user_file [/]path/.htpasswd;

Append to .htpasswd file:

© W. Hermanns, 2018-10-18
Download: whermanns.de, License: GNU GPLv3