【问题标题】:Error no input file specified codeigniter on hostinger.in错误没有在hostinger.in上指定输入文件codeigniter
【发布时间】:2017-08-12 23:12:52
【问题描述】:

我收到此错误。我无法运行我的其他页面。只是用域名打开的主页。我正在使用免费域和托管。

当我尝试访问其他页面时,它显示错误未指定输入文件。

这是我的 htaccess 代码

Options +FollowSymlinks
RewriteEngine on
RewriteBase /

AddType application/x-httpd-php .asp .py .pl

RewriteCond %{REQUEST_URI} !(\.|/$) 
RewriteRule (.*) http://domainname.ga/$1/ [R=301,L]
RewriteRule ^$ index.php [NC,L]

我在这里发布问题之前检查丢失的问题。但无法获得成功。 任何人都可以帮助我。?

【问题讨论】:

    标签: php .htaccess codeigniter


    【解决方案1】:

    在 .htaccess 中尝试此代码对我有用........

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
    </IfModule>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-09-01
      • 2014-02-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-24
      相关资源
      最近更新 更多