尝试了评论里大神们的多种做法,都不太理想。
我只知道去掉#环节,如果补上的话localhost可以打开,但是你设置的test01,02就不行了,难整
修改后还是无法打开
显示:
http://localhost/
Not Found
The requested URL / was not found on this server.
不知道你用127.0.0.1是否能打开,看看httpd.conf 有没有 Allow from localhost
<Directory "e:/wamp/www">
Options Indexes FollowSymLinks
AllowOverride All
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
</Directory>