2.修改c:\wamp64\bin\apache\apache2.4.17\conf\extra\httpd-vhost.conf,添加如下
serveradmin project.com documentroot c:\wamp64\www\project servername project.com errorlog logs/dummy-host2.example.com-error.log customlog logs/dummy-host2.example.com-access.log common
3.修改c:\windows\system32\drivers\etc文件夹下的hosts文件,添加
127.0.0.1 project.com
以上就介绍了 apache虚拟域名的设置,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
