管理员权限开启cmd,关闭Miscrosoft iis server 7.5
iisreset /stop
sc config w3svc start= disabled
net stop w3svc
配置host文件
wampinapacheapache2.4.9confextrahttpd-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>