码迷,mamicode.com
首页 > 其他好文 > 详细

二次开发本地配置域名

时间:2016-12-03 21:15:01      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:mil   custom   修改   root   开发   httpd   http   文件   本地   

本地配置域名:
第一步: 修改 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>

二次开发本地配置域名

标签:mil   custom   修改   root   开发   httpd   http   文件   本地   

原文地址:http://www.cnblogs.com/leijiangsheng/p/6129503.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!