wamp配置

管理员权限开启cmd,关闭Miscrosoft iis server 7.5
iisreset /stop
sc config w3svc start= disabled net stop w3svc

配置host文件
wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf,里面修改一下路径
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "C:/wamp/www/jd_search_v3/src/op/web"
ServerName sopr.jd.com
ServerAlias www.sopr.jd.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "c:/Apache24/docs/dummy-host2.example.com"
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>

  

 


posted @ 2016-01-22 14:25  doublehappyi  阅读(170)  评论(0编辑  收藏  举报