美文网首页
phpStudy配置本地服务器日记

phpStudy配置本地服务器日记

作者: 来了啊小老弟 | 来源:发表于2018-11-09 09:48 被阅读0次

打开文件位置:vhost.conf  添加如下代码

<VirtualHost *:80>

    DocumentRoot "C:\Program Files\test"

    ServerName test.local

  <Directory "C:\Program Files\test">

      Options Indexes FollowSymLinks ExecCGI

      AllowOverride All

  </Directory>

</VirtualHost>

打开host可添加本地域名,如果是服务器的话基本没用,可以不添加

相关文章

网友评论

      本文标题:phpStudy配置本地服务器日记

      本文链接:https://www.haomeiwen.com/subject/iosnxqtx.html