二次开发本地配置域名

本地配置域名:
第一步: 修改 wind32 / host 文件 127.0.0.01 www.mytpshop.com
第二步: 开启httpd.conf文件 Include conf/extra/httpd-vhosts.conf
第三步: 在httpd-vhost.conf文件里 加入
<VirtualHost *:80>
ServerAdmin www.mytpshop.com
DocumentRoot "D:\phpStudy\WWW\Fanmili"
ServerName www.mytpshop.com
ServerAlias www.mytpshop.com
ErrorLog "logs/mytpshop-error.log"
CustomLog "logs/mytpshop-access.log" common
</VirtualHost>

posted @ 2016-12-03 20:11  雷江生  阅读(336)  评论(0编辑  收藏  举报