Steven SullivanSteven Sullivan - 28th Feb 2013

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:

Require valid-user

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

 

Leave a Reply

Your email address will not be published. Required fields are marked *