ServerAdmin webmaster@localhost
DocumentRoot /home/web/default
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /usr/local/etc/apache2/.htpasswd
Require valid-user
create the users and passwords file\\ Insert new line code
htpasswd /usr/local/etc/apache2/.htpasswd another_user