0

私のサイトでは、フロントエンド Flash とバックエンド Kohana を使用しています。そして、私のバックエンドパネルはローカルで機能しました。ただし、リモートサーバーで管理パネルを開くと、次の問題が発生します。

"入力ファイルが指定されていません。"

どうすればこの問題を解決できますか?

編集:

それは私の.htaccessファイルです:

# Turn on URL rewriting
RewriteEngine On
# Put your installation directory here: If your URL is www.example.com/, 
# use / If your URL is www.example.com/kohana/, use /kohana/
RewriteBase /
# Do not enable rewriting for files or directories that exist

RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d

# For reuests that are not actual files or directories, Rewrite to 
# index.php/URL

#RewriteRule ^/$ /index.php?langKey=$1 [QSA]
RewriteRule ^(.*)$ /index.php/$1 [PT,L]

mysite.com/index.php/admin を書くと、バックエンドが機能しました。しかし、私は mysite.com/admin が欲しい

4

2 に答える 2

3

最後の行をに変更してみてください

RewriteRule .* /index.php?kohana_uri=$0 [QSA]

それはapachephp-fcgi構成で私のために働きました。

于 2012-05-01T15:00:42.663 に答える
0

このメッセージは、サイト ディレクトリが表示されないことを意味します。index.php が存在し、読み取り可能であることを確認してください。また、一部の nginx 構成では .htaccess は使用されません

于 2012-04-26T14:30:07.393 に答える