带有 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.redzoon.com)

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request." i contacted the server administrator he said there is some problem with application. so i thought there may be problem in .htaccess file. this is my .htaccess file code

   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/ [L]

   <IfModule !mod_rewrite.c>
       ErrorDocument 404 /index.php
    </IfModule>

请帮我看看我哪里做错了,有没有遗漏什么

我在谷歌上搜索了大约三天,最后我通过更改 .htaccess 得到了一些线索。现在我没有收到 500 内部服务器错误,而是收到了 "no input file specifed" 然后我再次搜索了这个错误,我发现了一个 link .htaccess problem: No input file specified 我在哪里找到问题的解决方案,这是 .htaccess 代码

DirectoryIndex index.php

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond  !^(index\.php|robots\.txt)

RewriteRule ^(.*)$ index.php?/ [L]

这对我有用。