为了账号安全,请及时绑定邮箱和手机立即绑定

test01和test02

只能访问test01不能访问test02是怎么回事


正在回答

3 回答

在e:/demo 文件夹下创建test01 和 test02文件夹了么  ? 并且在文件夹里编辑了php文件?

0 回复 有任何疑惑可以回复我~

错误提示是这个

Not Found

The requested URL /test02 was not found on this server.

Apache/2.4.23 (Win64) PHP/5.6.25 Server at localhost Port 8080


test01 和test02是这样配置的

<VirtualHost *:8080>

ServerName test01.com

DocumentRoot E:/Demo/test01

</VirtualHost>


<VirtualHost *:8080>

ServerName test02.com

DocumentRoot E:/Demo/test02

</VirtualHost>


0 回复 有任何疑惑可以回复我~

httpd-vhosts.conf 这个文件配置不正确,可能是ServerName不对或者DocumentRoot的路径不对

1 回复 有任何疑惑可以回复我~
#1

lzy瑜 提问者

是对的,不知道哪里处理问题
2017-04-16 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

test01和test02

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信