PHP使用phpstudy环境搭建好后访问主页出现如下提示
You don't have permission to access / on this server.
可以将vhosts.conf配置中的
Options -Indexes +FollowSymLinks +ExecCGI改成
Options +Indexes +FollowSymLinks +ExecCGI
这样访问主页时找不到指定文件就会以目录的形式将文件夹中的内容列出来
转载于:https://blog.51cto.com/11700527/1840220