当前位置: 主机百科 » 资源 » 技术 » 正文

apache:configuration error: couldn't perform authentication. AuthType not set!: /

最近在服务器上部署网站的时候报500错误,检查apache日志发现以下错误:

configuration error:  couldn't perform authentication. AuthType not set!: /

经过检查发现在apache配置文件http.conf中有以下配置:

1
  <Directory />   Require all granted  </Directory>

删除其中Require all granted,重启apache,问题解决。

未经允许不得转载:主机百科 » apache:configuration error: couldn't perform authentication. AuthType not set!: /

相关文章