virtualhost 里面设定多个servername

Life is short , play more!
本文来自lihao's Blog,转载请注明。

<VirtualHost *:80>

ServerAdmin [email protected]
DocumentRoot /xxx/xxx/
ServerName t.whoistester.com
ServerAlias performtesting.whoistester.com
ErrorLog logs/t.log.whoistester.com-error_log
CustomLog logs/t.log.whoistester.com-access_log common
AddOutputFilterByType DEFLATE application/x-javascript text/javascript text/css

</VirtualHost>

使用ServerAlias 指示标签


发表评论

电子邮件地址不会被公开。 必填项已用*标注