PHP使用phpstudy環境搭建好後訪問主頁出現如下提示
You don't have permission to access / on this server.
可以將vhosts.conf配置中的
Options -Indexes +FollowSymLinks +ExecCGI改成
Options +Indexes +FollowSymLinks +ExecCGI
這樣訪問主頁時找不到指定文件就會以目錄的形式將文件夾中的內容列出來
PHP使用phpstudy環境搭建好後訪問主頁出現如下提示
You don't have permission to access / on this server.
可以將vhosts.conf配置中的
Options -Indexes +FollowSymLinks +ExecCGI改成
Options +Indexes +FollowSymLinks +ExecCGI
這樣訪問主頁時找不到指定文件就會以目錄的形式將文件夾中的內容列出來