Receiving the above (AH01627) error?
You have a misconfiguration usually in .htaccess.
HTTP – AH01627: AuthType configured with no corresponding authorization directives
It’s quite simple, all you need to add is the following line:
So for example a full .htaccess file would look like this:
AuthGroupFile /dev/null AuthType Basic AuthUserFile /path/to/.htpasswd AuthName "Testing" Require valid-user