Dragon
主机之家测评主机之家测评  2019-08-26 01:10 主机之家测评 隐藏边栏 |   抢沙发  3 
文章评分 0 次,平均分 0.0

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

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

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

  <Directory />  	Require all granted  </Directory>

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

本文为原创文章,版权归所有,欢迎分享本文,转载请保留出处!

发表评论

扫一扫二维码分享