标签:域名解析 ext server extra root document pst logs access
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin@test.com
DocumentRoot "C:\phpStudy\PHPTutorial\WWW"
ServerName test.com
ServerAlias www.test.com
ErrorLog "C:\phpStudy\PHPTutorial\Apache\logs\test.localhost-error.log"
CustomLog "C:\phpStudy\PHPTutorial\Apache\logs\test.localhost.access.log" combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin@test.com
DocumentRoot "C:\phpStudy\PHPTutorial\WWW\q"
ServerName a.test.com
ErrorLog "C:\phpStudy\PHPTutorial\Apache\logs\a.test.localhost-error.log"
CustomLog "C:\phpStudy\PHPTutorial\Apache\logs\a.test.localhost.access.log" combined
</VirtualHost>
标签:域名解析 ext server extra root document pst logs access
原文地址:https://www.cnblogs.com/5aiQ/p/10209694.html