\Apache\conf\httpd.conf
找到配置文件,搜索 Options把加號換成減號,或者去掉Indexes 也可以
DocumentRoot "D:\phpStudy\WWW"
<Directory />
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>