apache2 vhost 错误

apache2 vhost 错误

错误说:

Virtualhost mysite.com has no server environment set, request will not be honoured

我的虚拟主机文件是:

<VirtualHost *:80>
    ServerName  mysite.com

    ServerAdmin [email protected]

    DocumentRoot "/srv/d_servpa1/www/mysite.com/htdocs"
    <Directory "/srv/d_servpa1/www/mysite.com/htdocs">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

ErrorLog /srv/d_servpa1/www/mysite.com/htdocs/error.log
</VirtualHost>

不明白为什么这不起作用

相关内容