带有A3M的codeigniter 2.2.0在远程服务器上无法正常工作


codeigniter 2.2.0 with A3M not working properly at remote server

在我的新项目中,我使用的是codeigniter 2.2.0和A3M 1.01授权库,我已经在本地主机上检查过了,它运行良好,但当我将其上传到远程服务器上时,主页已加载,但登录不起作用,它显示以下错误(www.redzoo.com)

内部服务器错误

服务器遇到内部错误或配置错误无法完成您的请求。

请与服务器管理员联系,cgiadmin@yourhostingaccount.com并通知他们发生错误的时间发生,以及您可能做的任何可能导致错误

服务器错误中可能提供了有关此错误的更多信息日志

此外,在尝试使用ErrorDocument来处理请求。"我联系了服务器管理员他说应用程序出现了一些问题。所以我认为.htaccess文件可能有问题。这是我的.htaccess文件代码

   RewriteEngine on
   RewriteBase /CodeIgniter2.2_A3M/
   # Directs all EE web requests through the site index file
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ ./index.php/$1 [L]
   <IfModule !mod_rewrite.c>
       ErrorDocument 404 /index.php
    </IfModule>

请帮我哪里做错了,有什么我错过的吗

我在谷歌上搜索了大约三天,终于通过更改.htaccess得到了一些线索。现在我没有得到500内部服务器错误,而是得到了"没有指定输入文件",然后我再次搜索这个错误,我找到了一个链接.htaccess问题:未指定输入文件我的问题的解决方案是.htaccess代码

DirectoryIndex index.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index'.php|robots'.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

这对我很有效。