課程
/后端開發
/PHP
/PHP入門篇
嘗試了評論里大神們的多種做法,都不太理想。
2016-11-16
源自:PHP入門篇 2-4
正在回答
我只知道去掉#環節,如果補上的話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>
YeungSyuNie 提問者
mmduan
舉報
PHP入門教程輕松學習,行業大牛幫您快速掌握PHP編程基礎知識。
5 回答localhost不能打開,只有test01.com和test02.com能打開
1 回答test01.com打不開 host local打開了hello 01是為啥啊
4 回答test01和test02都可以打開,但localhost打不開 403 Forbidden
2 回答test01能打開,test02打開是亂碼是怎么回事啊
1 回答test01可以了,test02打不開
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-03-02
我只知道去掉#環節,如果補上的話localhost可以打開,但是你設置的test01,02就不行了,難整
2016-11-17
修改后還是無法打開
顯示:
http://localhost/
Not Found
The requested URL / was not found on this server.
2016-11-17
不知道你用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>