apache怎么绑定二级域名

apache怎么绑定二级域名

apache怎么绑定二级域名
NameVirtualHost   58.61.156.177
<VirtualHost   58.61.156.177:80>
        ServerAdmin   yjjqtdht@sohu.com
        DocumentRoot   F:\html
        ServerName     www.cnshipper.com
</VirtualHost>
<VirtualHost   58.61.156.177:80>
        ServerAdmin   lisan@sohu.com
        DocumentRoot   F:\html\art
        ServerName     news.cnshipper.com
</VirtualHost>
错误提示:
Forbidden
You   don 't   have   permission   to   access   /   on   this   server.


--------------------------------------------------------------------------------

Apache/2.0.55   (Win32)   PHP/4.4.4   Server   at   news.cnshipper.com   Port   80
DocumentRoot   F:/html
DocumentRoot   F:\\html


DocumentRoot   F:\\html\\art
改为DocumentRoot     F:/html     还是不行
httpd.conf   中把
<Directory   />
        Options   FollowSymLinks
        AllowOverride   None
        Order   deny,allow
        Deny   from   all
        Satisfy   all
</Directory>
改成
<Directory   />
        Options   FollowSymLinks
        AllowOverride   None
</Directory>
<VirtualHost   ip:80>
                rewriteengine   on
                rewritecond   %{HTTP_HOST}   [^.]+\.域名\.com$
                rewriterule   ^(.+)   %{HTTP_HOST}$1   [C]
                rewriterule   ([^.]+)\.域名\.com(.*)   /$1$2
                其他配置文件
</VirtualHost>
NameVirtualHost   58.61.156.177:80
mark