phpstudy 设置网站根目录

1.打开vhosts.conf 文件

 

<VirtualHost _default_:3336>
DocumentRoot "D:\phpStudy\WWW\hw-hcc-api"
<Directory "D:\phpStudy\WWW\hw-hcc-api">
Options -Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

posted @ 2017-07-18 17:49  nini_x  阅读(2061)  评论(0编辑  收藏  举报