codeIgniter をインストールしようとしていますが、すべての codeIgniter ファイルを/backend
inというフォルダーにコピーしましたhttp://www.mydomain.com
。
次に、http://www.mydomain.com/backend/index.php
codeIgniter のウェルカム ページを表示します。
次にmain.php
、/backend/controller
フォルダーに を作成しました。しかし、私が開くhttp://www.mydomain.com/backend/index.php/main
と、それが表示されますNo input file specified
。
この質問を見た後、次の内容の .htaccess ファイルを/backend
フォルダーに貼り付けました。
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
しかし、ページにhttp://www.mydomain.com/backend/index.php/main
はまだNo input file specified
.
なぜ.htaccess
違いが出ないのですか?何が起こっているのかわかりません。