Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 754
stefansaye Avatar asked Mar 12 '23 03:03

stefansaye


1 Answers

Remove the line Require all granted.

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

like image 66
gaganso Avatar answered Mar 28 '23 21:03

gaganso