|
发表于 2010-5-15 11:16:46
|
显示全部楼层
把第一行的ServerName 58.19.188.224去掉试试,还有你的括号嵌套有问题。
另外,我个人习惯写成这样NameVirtualHost *:80,不加IP,后面也写成<VirtualHost *:80>,你以后如果换了服务器或者空间,不需要改动了。
NameVirtualHost *:80
<Directory "/var/www/html/itbirdfly.3322.org">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/html/ilovefedora.3322.org">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
ServerName itbirdflyl.3322.org
DocumentRoot /var/www/html/itbirdfly.3322.org
</VirtualHost>
<VirtualHost *:80>
ServerName ilovefedora.3322.org
DocumentRoot /var/www/html/ilovefedora.3322.org
</VirtualHost> |
|