在apache下设置虚拟主机有很多的好处。可以便于我们调试。此处我总结一下我的设置过程,便于以后查阅:

1.在apache的配置文件中:/apache安装目录/conf/httpd.conf文件

插入 以下:

ServerName mydomains1.com
DocumentRoot “f:/www/magento/”

ServerName  mydomains2.com
DocumentRoot “f:/www/svn_shop_laster/”
然后,修改host文件:C:\WINDOWS\system32\drivers\etc\HOSTS

在其中加上:

127.0.0.1       mydomains1.com

127.0.0.2     mydomain2.com

I have no doubt they’ll lose weight when they’re in the program, she says of the students Corporations have merely reaped the benefits writemypaper4me.org of the heavy investment in english language education that other countries have financed

标签:
本文连接地址: http://www.fresker.com/archives/290 (转载注明出处)

回复

目前暂无评论

Sorry, 评论已关闭.