<VirtualHost *:80>ServerName test.mpe.net.cn
DocumentRoot "E:\www"</VirtualHost>

解决方案 »

  1.   

    提示:
    Access forbidden!
    You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. 
      

  2.   

    而当我把 DocumentRoot 改为设定好的一个虚拟目录内则可以。
      

  3.   

    问题解决了:
    在下面加上
    <Directory "E:/www2/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    就可以了