虚拟主机配置

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "C:\laragon\www\dc\public\"
ServerName dc.com
ServerAlias *.dc.com
ErrorLog "logs/dummy-host.dc.com-error.log"
CustomLog "logs/dummy-host.dc.com-access.log" common
</VirtualHost>

posted @ 2018-08-19 22:30  李傲强  阅读(91)  评论(0编辑  收藏  举报