最近在服务器上部署网站的时候报 500 错误,检查 apache 日志发现以下错误:
configuration error: couldn't perform authentication. AuthType not set!: /
经过检查发现在 apache 配置文件 http.conf 中有以下配置:
<Directory /> Require all granted </Directory>
删除其中的Require all granted,重启 apache,问题解决。
本文为原创文章,版权归主机之家测评所有,欢迎分享本文,转载请保留出处!
你可能也喜欢
- ♥ Laravel faker 生成中文测试数据08/27
- ♥ C#根据生日计算准确年龄的方法08/26
- ♥ TypeScript 动态创建类的方法08/27
- ♥ 膛肚两个字中间有一把刀是什么成语?08/24
- ♥ JQuery 自动调整 textarea 内容高度08/28
- ♥ ThinkPHP5 动态创建数据表方法08/24