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>