Receiving the above (AH01627) error?
You have a misconfiguration usually in .htaccess. It usually happens when you’ve upgraded Apache.
HTTP – AH01627: AuthType configured with no corresponding authorization directives
It’s quite simple, all you need to add is the following line into your .htaccess file:
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