apache 2.2 WIN下配置虚拟主机问题

apache 2.2 WIN下配置虚拟主机问题

httpd-vhosts.conf配置如下:

NameVirtualHost 127.0.0.1:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

<VirtualHost 127.0.0.1:80>
    ServerAdmin hekeyphp@gmail.com
    DocumentRoot  "d:/www/blog"
    ServerName www.kakee.net
</VirtualHost>

然后重启,访问www.kakee.net得到的地址是apache的htdoc的根目录,It's Work! 这个是怎么回事,

已经吧域名的 A记录指向了这个服务器的IP

httpd.conf主要配置:

Listen 80
ServerAdmin hekeyphp@gmail.com
#ServerName 127.0.0.1:80

DocumentRoot "d:/www"

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory "d:/www">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
没有人来回答么?
不知你为什么要把虚拟主机配置单独放在一个文件中