httpd.conf最后加以下代码MS就行了,我的是这样配的<VirtualHost xxx.xxx.xxx.xxx:80> 
    ServerAdmin [email protected] 
    DocumentRoot /xxxx/xxx 
    ServerName xxx.com 
    ErrorLog logs/www.xxx.com-error_log 
    CustomLog logs/www.xxx.com-access_log common 
</VirtualHost>

解决方案 »

  1.   

    查看 logs/error.log 文件最后N行的错误信息.
      

  2.   

    回3楼 最后几行的错误信息
    [Fri Apr 10 17:23:25 2009] [notice] Child 1380: Child process is running
    [Fri Apr 10 17:23:25 2009] [notice] Child 1380: Acquired the start mutex.
    [Fri Apr 10 17:23:25 2009] [notice] Child 1380: Starting 64 worker threads.
    [Fri Apr 10 17:23:25 2009] [notice] Child 1380: Starting thread to listen on port 80.
    [Fri Apr 10 17:23:43 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Fri Apr 10 17:23:43 2009] [notice] Child 1380: Exit event signaled. Child process is ending.
    [Fri Apr 10 17:23:44 2009] [notice] Child 1380: Released the start mutex
    [Fri Apr 10 17:23:45 2009] [notice] Child 1380: Waiting for 64 worker threads to exit.
    [Fri Apr 10 17:23:45 2009] [notice] Child 1380: All worker threads have exited.
    [Fri Apr 10 17:23:45 2009] [notice] Child 1380: Child process is exiting
    [Fri Apr 10 17:23:46 2009] [notice] Parent: Child process exited successfully.可是我看不懂啊
      

  3.   

    一些细节忘记说了。
    他出错是因为这一行代码,
    RewriteMap vhost txt:E:\AppServ\Apache2.2\vhost.map(斜杠反斜杠都试过) 
    上面写的省略了,真正的路径是这样的
    RewriteMap vhost txt:E:\english path\AppServ\Apache2.2\vhost.map(斜杠反斜杠都试过)
    english path 中间有空格,有空格不行吗?怎么解决??把空格变成20%也不行