我最近切换了civ.3我曾经遇到过一些问题当我点击我的url时,我的实时服务器重定向到我404错误页面它在本地主机上非常好,但在服务器上不起作用。我的.htaccess文件是
RewriteEngine on
RewriteCond $1 !^(index'.php|images|robots'.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
# 2 ---- Prevent directory file listing in all of your folders ----
IndexIgnore *
尝试将文件夹控制器和模型的文件重命名为ucfirst。
请参阅http://www.codeigniter.com/userguide3/installation/upgrade_300.html#step-2-更新-您的类-文件名
只需重命名控制器文件名:例如:about.php到about.php