[CodeIgniter] 錯誤訊息 No Input File Specified.
CI無需設定什麼,但是一開始遇到『No Input File Specified.』這個訊息時,
表示你的主機環境並不允許『PATH_INFO variable』
( it might be that your server does not support the PATH_INFO variable )
預設的 index.php/controller 行不通,要改成 index.php?/controller
所以原本的 .htaccess rewrite 規則要改成
RewriteRule ^(.*)$ index.php?/$1 [L]
你或許會想要看:
- Codeigniter 使用 mysqli 無法備份資料庫
- [CodeIgniter] 錯誤訊息 Undefined index: REMOTE_ADDR
- [wordpress] 取的某分類頁面的term_id
- [教學] ckeditor 4.3 開啟上傳圖檔與瀏覽檔案功能
- [wordpress] 取的文章內容的第一張圖語法
- [CodeIgniter] 取得 mysql 欄位資訊的編碼(Collation)、權限(Privileges)、註解(Comment)的欄位
- [jQuery] live() 事件失效的修改方法
- [wordpress] 如何依據文章不同格式(post-formats),載入不同的樣板(get_template_part)?
- [wordpress] 如何在後台自定背景圖、背景顏色?
- [wordpress] 如何新增選單 menu ?