apache多站点配置中ServerAlias什么意思?

别名,访问www.coyis.com www.wpsong.com都会解析到这个目录

[bash autolinks=”false” classname=”myclass” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”2″ toolbar=”true” language=”title=”]

<VirtualHost www.beian.pro:80>
DocumentRoot /var/www/html/coyis
ServerName coyis.com
ServerAlias www.coyis.com www.wpsong.com
</VirtualHost>

[/bash]

未经允许不得转载:Song It » apache多站点配置中ServerAlias什么意思?

相关文章

评论 (0)