WAMPserver配置多站点后 打开配置的站点域名 然后就进入localhost了
为什么不能直接进入域名首页
为什么不能直接进入域名首页
2017-02-20
# Virtual Hosts <VirtualHost *:80> ServerName localhost DocumentRoot F:/Demo/ <Directory "F:/Demo/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> <VirtualHost *:80> ServerName test01.com DocumentRoot F:/Demo/test01/ <Directory "F:/Demo/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> <VirtualHost *:80> ServerName test02.com DocumentRoot F:/Demo/test02 <Directory "F:/Demo/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost>
举报