課程
/后端開發(fā)
/PHP
/PHP入門篇
只能訪問test01不能訪問test02是怎么回事
2017-04-15
源自:PHP入門篇 2-5
正在回答
在e:/demo 文件夾下創(chuàng)建test01 和 test02文件夾了么 ?? 并且在文件夾里編輯了php文件?
錯(cuò)誤提示是這個(gè)
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>
ServerName test02.com
DocumentRoot E:/Demo/test02
httpd-vhosts.conf?這個(gè)文件配置不正確,可能是ServerName不對(duì)或者DocumentRoot的路徑不對(duì)
lzy瑜 提問者
舉報(bào)
PHP入門教程輕松學(xué)習(xí),行業(yè)大牛幫您快速掌握PHP編程基礎(chǔ)知識(shí)。
3 回答test01和test02的界面不對(duì)
1 回答test01和test02第跳轉(zhuǎn)到了iis界面
2 回答test01可以運(yùn)行test02不行
1 回答test01可以了,test02打不開
1 回答為什么我的test01和test02.com都打不開
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-08-13
在e:/demo 文件夾下創(chuàng)建test01 和 test02文件夾了么 ?? 并且在文件夾里編輯了php文件?
2017-04-16
錯(cuò)誤提示是這個(gè)
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>
2017-04-16
httpd-vhosts.conf?這個(gè)文件配置不正確,可能是ServerName不對(duì)或者DocumentRoot的路徑不對(duì)