Published by exdone
Posted on August 21, 2014
Apache Version : 2.2/2.4
Error: AH01627: AUTHTYPE CONFIGURED WITH NO CORRESPONDING AUTHORIZATION DIRECTIVES
After upgrading apache we started seeing the above error. This was due to the .haccess file missing a directive that work without it in earlier versions of Apache.
before the upgrade
AuthType Basic
AuthName “Restricted Area”
AuthUserFile “/home/path”
Needed after the upgrade
Require valid-user << —— required after the upgrade <<<<<<—
Require valid-user
AuthType Basic
AuthName “Restricted Area”
AuthUserFile “/home/path”