更改vhosts.conf
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "D:/phpStudy/PHPTutorial/WWW/ams/public/"
ServerName www.xxxx1.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "D:/phpStudy/PHPTutorial/WWW/weiqin/"
ServerName www.xxxx2.cn
</VirtualHost>