Tell us about yourself!
My $135 Wood Fired Pizza Oven!
When I attempt this step of adding the password protection, Apache 2 service refuses to restart. It gives me a message that: AuthType not allowed here. Action 'configtest' failed.
Ok after researching for a while, I found that I was able to fix my problem. I needed to wrap the Auth comments with a directory tag. See below:<Directory "/var/www/html">AuthType BasicAuthName "Restricted Content"AuthUserFile /etc/apache2/.htpasswdRequire valid-user</Directory>