请教如何配置APACHE 中的虚拟主机
以下是我的配置文件。但是用这两个配置文件APACHE启动不了。出错。
httpd.conf文件地址http://download.csdn.net/detail/dalianwa/4394998
httpd-vhosts.conf文件内容:
<VirtualHost *:80>
      ServerAdmin webmaster@dummy-host.com
      DocumentRoot "D:/www"
     ServerName localhost
      ServerAlias localhost
      ErrorLog "logs/thisway.log"  
      CustomLog "logs/thisway.log"
      <Directory "D:/www">  
        Options Indexes FollowSymLinks
         AllowOverride ALL
         Order allow,deny
         Allow from all
     </Directory>
</VirtualHost>
<VirtualHost *:8081>
      ServerAdmin webmaster@dummy-host.com
      DocumentRoot "D:/www/www.dalianwa.com"
     ServerName dalianwa.local
      ServerAlias dalianwa.local
      ErrorLog "logs/thisway.log"  
      CustomLog "logs/thisway.log"
      <Directory "E:/www/www.dalianwa.com">  
        Options Indexes FollowSymLinks
         AllowOverride ALL
         Order allow,deny
         Allow from all
     </Directory>
</VirtualHost>
------解决方案--------------------
你用注释法。来排除错误。我都这样做地。