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

admin 阅读:90 2024-03-03

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

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

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


<Directory />
	Require all granted
</Directory>

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

声明

1、部分文章来源于网络,仅作为参考。
2、如果网站中图片和文字侵犯了您的版权,请联系1943759704@qq.com处理!

搜索