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]

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *