在httpd.conf这个文件中添加了下面两段,重启服务就OK了
#APMServ默认虚拟主机
NameVirtualHost www.jiulinghou.org:80
ServerName www.iup.com
DocumentRoot "d:/aizhi"
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.php index.html default.php index.htm default.htm
AllowOverride None
Order Deny,Allow
Allow from all
NameVirtualHost www.0791jiayuanwang.com:80
ServerName www.360.com
DocumentRoot "E:/360"
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.html default.php index.htm default.htm
AllowOverride None
Order Deny,Allow
Allow from all