apache 虚拟主机配置问题
我想在本机上配置两个虚拟主机如下
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
ServerName www.hanxinxin.com
DocumentRoot D:/hanxinxin/
DirectoryIndex index.php
<Directory "D:\hanxinxin">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerName www.boke.com
DocumentRoot D:/hanxinxin/wordpress/
DirectoryIndex index.php
<Directory "D:\hanxinxin\wordpress">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
127.0.0.1 localhost
127.0.0.1 www.hanxinxin.com
127.0.0.1 www.boke.com