duanshan188866 2015-03-31 18:04
浏览 10
已采纳

too long

i had recently switched ci v.3 and i had faced problems my live server redirect to me 404 error page when i hit my url it was perfectly fine on local host but it's not working on server. my .htaccess file is

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 *
  • 写回答

2条回答 默认 最新

  • doumu2172 2015-04-04 10:17
    关注

    Try rename the file to ucfirst for folder controller and model.

    Please refer http://www.codeigniter.com/userguide3/installation/upgrade_300.html#step-2-update-your-classes-file-names

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度