2017-02-19 166 views
0

爲什麼我有這個沒有匹配的目錄,但我有一個在前一天工作,但現在不是。我正在使用Codeigniter。Apache沒有匹配的目錄

[太陽11年2月19日:43:03.077759 2017] [自動變址:錯誤] [PID 5204:TID 1864] [客戶端:: 1:51750] AH01276:無法服務目錄C:/ XAMPP/htdocs中/骨肉/ assets/files /:沒有匹配的DirectoryIndex(index.php,index.pl,index.cgi,index.asp,index.shtml,index.html,index.htm,default.php,default.pl,default.cgi, default.asp,default.shtml,default.html,default.htm,home.php,home.pl,home.cgi,home.asp,home.shtml,home.html,home.htm)和服務器生成的目錄索引通過選項指令,禁止引薦:http://localhost/Groupie/newsfeed

回答

0

看來,在C:/xampp/htdocs/Groupie/assets/files/你沒有可以充當一個目錄索引時THA文件t目錄被訪問。添加在列表中的文件之一:

的index.php,index.pl,index.cgi文件,的index.asp,index.shtml,的index.html,index.htm的,如default.php,default.pl ,default.cgi default.asp default.shtml default.html default.htm home.php home.pl home.cgi home.asp home.shtml home.html home.htm

+0

我應該將其添加到文件夾內嗎? –

+0

現在我的整個base_url()或者沒有被發現或者被禁止似乎是錯誤的 –

+0

是的,你可以將它添加到文件夾中來解決你問到的錯誤。 – SuperDuperApps