摘要:
1.在httpd.conf中去掉如下注释:# Virtual hostsInclude conf/extra/httpd-vhosts.conf2.在 httpd-vhosts.conf添加内容例如:NameVirtualHost *:80 DocumentRoot “你的项目绝对地址” ServerName xxx.com ErrorLog logs/abc.sh.cn-error_log3.打开C:/Windows/System32/drivers/etc/hosts 文件添加记录127.0.0.1 xxx.com4.然后重启apache 服务。 阅读全文
posted @ 2013-09-02 11:08
小戴子
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号