<VirtualHost *:80>
ServerName test.com
ServerAlias test.com
DocumentRoot "D:/web/test/public"
DirectoryIndex index.php index.htm index.html
<Directory "D:/web/test/public">
Options -Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
嗨,我上面有一个vhost,但我仍然收到错误403(Forbidden access)
。
我尝试过添加Require all granted
,但它不起作用。
Options指令禁止的目录索引:D:/ web / test / public