0

codeIgniter をインストールしようとしていますが、すべての codeIgniter ファイルを/backendinというフォルダーにコピーしましたhttp://www.mydomain.com

次に、http://www.mydomain.com/backend/index.phpcodeIgniter のウェルカム ページを表示します。

次に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違いが出ないのですか?何が起こっているのかわかりません。

4

1 に答える 1