apache2.4报错 AH01630: client denied by server configuration

不知道什么原因,用的宝塔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

解决办法

配置文件中

    
        Options FollowSymLinks ExecCGI
        AllowOverride All
        Require all granted
        DirectoryIndex index.php default.php index.html index.htm default.html default.htm
        
    

修改为如下:


        Options -Indexes +FollowSymlinks 
        AllowOverride All 
        Require all granted 
    

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

你可能感兴趣的:(apache2.4报错 AH01630: client denied by server configuration)