ServerName takes one argument, The hostname and po

解决方法:将ServerName修改为ServerAlias 。

NameVirtualHost *:80
<VirtualHost *:80>
  ServerAlias www.domain.com domain.com
  DocumentRoot "/var/www/domain.com"
</VirtualHost>

文章来自:http://my.oschina.net/u/988279/blog/494990
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3