Apache: “AuthType not set!” 500 Error

stefansaye picture stefansaye · May 31, 2016 · Viewed 12k times · Source

It's been a while since I used the Apache httpd web server in windows. when I try to request localhost/index.html, I get a 500 error and I see this in the error log:

[client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /

This line in my httpd.conf may be involved.

 <Directory />
    Options FollowSymLinks
    AllowOverride All
    Require all granted
 </Directory>

my apache version is 2.2
OS : windows 7 how do I solve this 500 error?

Answer

gaganso picture gaganso · May 31, 2016

Remove the line Require all granted.

Allow from all in version <2.4 is equivalent to Require all granted for 2.4+.