apache 配置多域名访问的方法
C:\phpStudy\PHPTutorial\Apache\conf 里面的 vhosts.conf 配置多域名访问
<VirtualHost *:80>
DocumentRoot "C:/phpStudy/PHPTutorial/WWW/ams/public/"
ServerName ams
ErrorLog "logs/www.learn-laravel.com-error.log"
CustomLog "logs/www.learn-laravel.com-access.log" combined
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/phpStudy/PHPTutorial/WWW/"
ServerName www.*******.cn
ErrorLog "logs/www.learn-laravel.com-error.log"
CustomLog "logs/www.learn-laravel.com-access.log" combined
</VirtualHost>