我的网站使用前端 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