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>
相關文章
相關標籤/搜索