Apache2.4:AH01630 client denied by server configuration

1.将httpd-vhosts.conf中的相关配置

<VirtualHost *:8088>
    DocumentRoot '/test/download
    DirectoryIndex index.html index.php
    ErrorLog "logs/localhost-error.log"
    ServerName localhost
</VirtualHost>

 修改为

<VirtualHost *:8088>
    DocumentRoot '/test/download
    <Directory "/test/download">  
        AllowOverride All  
        Order allow,deny  
        Allow from all
        Require all granted
    </Directory>
    DirectoryIndex index.html index.php
    ErrorLog "logs/localhost-error.log"
    ServerName  localhost
</VirtualHost>

  

posted @ 2021-01-13 17:45  不知起什么名字  阅读(149)  评论(0编辑  收藏  举报