課程
/后端開發(fā)
/PHP
/PHP入門篇
設(shè)置之后都是下面的結(jié)果
2016-08-20
源自:PHP入門篇 2-4
正在回答
我的情況和你的差不多,我也不知道是怎么回事
先看下你在C盤里面的hosts修改是否有權(quán)限修改并保存?
然后看下你在apache---conf---extra---httpd-vhosts.conf文件中 是否設(shè)置好了兩個(gè)站點(diǎn)!
因?yàn)橐曨l比較老舊,我是這樣設(shè)置的
<VirtualHost *:80>
ServerName test01.com
DocumentRoot F:/Demo/test01
<Directory ?"F:/Demo/test01">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
這邊比視頻里面多了Directory設(shè)置 ,你可以看一下!
舉報(bào)
PHP入門教程輕松學(xué)習(xí),行業(yè)大牛幫您快速掌握PHP編程基礎(chǔ)知識(shí)。
3 回答為什么配置完 ,test01.com \test02.com打開的都是localhost呢
4 回答test01和test02都可以打開,但localhost打不開 403 Forbidden
1 回答為什么我的test01和test02.com都打不開
5 回答localhost不能打開,只有test01.com和test02.com能打開
2 回答為什么配置完 ,localhost和test01.com \test02.com 都顯示403
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)
2016-09-16
我的情況和你的差不多,我也不知道是怎么回事
2016-08-22
先看下你在C盤里面的hosts修改是否有權(quán)限修改并保存?
然后看下你在apache---conf---extra---httpd-vhosts.conf文件中 是否設(shè)置好了兩個(gè)站點(diǎn)!
因?yàn)橐曨l比較老舊,我是這樣設(shè)置的
<VirtualHost *:80>
ServerName test01.com
DocumentRoot F:/Demo/test01
<Directory ?"F:/Demo/test01">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
這邊比視頻里面多了Directory設(shè)置 ,你可以看一下!