美文网首页
apache2.4报错 AH01630: client deni

apache2.4报错 AH01630: client deni

作者: 呦丶耍脾气 | 来源:发表于2020-01-04 11:20 被阅读0次

不知道什么原因,用的宝塔windows面板,之前新建tp项目没有出现这种问题,今天突然新建一个项目出现了问题。具体不知道什么原因,报错信息如下:

[Sat Jan 04 11:07:14.006437 2020] [authz_core:error] [pid 7800:tid 1176] [client 127.0.0.1:6202] AH01630: client denied by server configuration: D:/wwwroot/active.demo/public/1.html

解决办法

配置文件中

    <Directory "D:\wwwroot\active.demo\public">
        Options FollowSymLinks ExecCGI
        AllowOverride All
        Require all granted
        DirectoryIndex index.php default.php index.html index.htm default.html default.htm
        
    </Directory>

修改为如下:

<Directory "D:\wwwroot\active.demo\public">
        Options -Indexes +FollowSymlinks 
        AllowOverride All 
        Require all granted 
    </Directory>

具体搞不懂是什么原因,我新建的站点使用上面的有问题的配置是没有问题的,而且都是tp5.0.24的项目,就是很奇怪了,又懂得人麻烦告知下,感谢

相关文章

网友评论

      本文标题:apache2.4报错 AH01630: client deni

      本文链接:https://www.haomeiwen.com/subject/hcpxactx.html