December 7
2020
Apache Basic Password Protected Directory
.htaccess:
AuthName "Dialog prompt"
AuthType Basic
AuthUserFile /home/username/example.com/.htpasswd
Require valid-user
Auth File:
htpasswd -c /home/username/example.com/.htpasswd user1