输入localhost之后,显示的是test01的输出语句,输入test02也是显示test01的语句
按照评论的解决方法,已经修改了locahost的端口为8080,其他test01,test01端口为80;localhost的虚拟站点配置代码如下:<VirtualHost *:8080>
ServerName localhost
DocumentRoot D:/Demo
<Directory "D:/Demo">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
test01:
<VirtualHost *:80>
ServerName test01
DocumentRoot D:/Demo/test01
<Directory "D:/Demo/test01">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
test02:
<VirtualHost *:80>
ServerName test02
DocumentRoot D:/Demo/test02
<Directory "D:/Demo/test02">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
是出现了哪里的问题?