php - 找不到 codeigniter 迁移到 linux 服务器页面

标签 php linux codeigniter

我通过使用在窗口本地主机上运行的 codeigniter 开发了应用程序并且工作正常但问题是当我迁移到 linux 服务器时收到错误消息“404 页面未找到”。base_url 已经更改。

本地主机 -localhost/ci/index.php/test(窗口) 输出:成功

服务器 -172.16.10.251/ci/index.php/test- (linux) 输出:404 找不到页面

问题

有什么我想更改的设置吗?

抱歉,第一次在线。

谢谢

最佳答案

我遇到了同样的问题。 我认为问题出在 Linux 的大小写敏感性上。 所以我鼓励你用大写字母更改 Controller 和模型下的所有文件。我设法使用这种方法解决了同样的问题。

关于php - 找不到 codeigniter 迁移到 linux 服务器页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24949779/

相关文章:

linux - 扫描一个整数并在 NASM 中打印区间 (1, integer)

linux - 如何将文件保存到 ramdisk 文件系统中的闪存?

php - 在 CodeIgniter 中使用模型

php - 如何在 CodeIgniter 中获取 show_error() 来加载 View ?

php - MYSQL 存储过程给出空值

php - mysql 查询更新与 php

php - 将变量放置在 div id 中

linux - 如何使用 linux cli 忽略 csv 文件中的任何特定列数据?

php - 创建电子邮件验证代码时限制长度是否不好?

CodeIgniter JQuery $.post