Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 远程服务器上的站点:";未指定输入文件;_Php_Flash_.htaccess_Kohana - Fatal编程技术网

Php 远程服务器上的站点:";未指定输入文件;

Php 远程服务器上的站点:";未指定输入文件;,php,flash,.htaccess,kohana,Php,Flash,.htaccess,Kohana,我的网站使用前端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.examp

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

此消息意味着您无法查看站点目录。确保index.php存在并且可读。
在某些nginx配置中也不使用htaccess。此消息意味着您无法查看站点目录。确保index.php存在并且可读。
在某些nginx配置中也不使用htaccess

尝试将最后一行更改为

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

它在apache php fcgi配置中对我有效。

尝试将最后一行更改为

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

它在apache php fcgi配置上对我起了作用。

我打赌你在使用Godaddy的主机:)我打赌你在使用Godaddy的主机:)