Search code examples
apacheapache-config

Apache: “AuthType not set!” 500 Error


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?


Solution

  • Remove the line Require all granted.

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