【发布时间】:2017-03-12 17:03:27
【问题描述】:
我正在使用 CODEIGNITER。我安装了一个可以在线正常工作的项目,但是当我在本地主机(XAMPP)中复制文件时,只有主页是工作文件,所有其他页面都显示以下消息:
未找到 在此服务器上未找到请求的 URL /maharajaviaggi/team。 此外,在尝试使用 ErrorDocument 处理请求时遇到 404 Not Found 错误。 Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 服务器在 localhost 端口 80
我不明白为什么它会显示这个,因为它在网上运行良好......?
【问题讨论】:
-
在配置文件中检查你的 base_url()。
-
检查你的文件和类名有没有读过这个codeigniter.com/user_guide/general/styleguide.html#file-naming
标签: codeigniter xampp