2017-02-19 168 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