With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
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>
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.