1. httpd.conf 文件,找到如下代碼:
DocumentRoot "D:\WWW"
<Directory />
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Deny from all
Require all granted
</Directory>
將Deny from all
修改為 Allow from all
.
2. 如果發現上面的配置是Allow from all
,那么就設置phpStduy設置->允許目錄列表
(如果上面顯示還是1,那就是博客園的markdown出錯了)