错误在hostinger.in上未指定输入文件codeigniter [英] Error no input file specified codeigniter on hostinger.in
本文介绍了错误在hostinger.in上未指定输入文件codeigniter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到此错误。我无法运行其他页面。仅使用域名打开主页。我正在使用免费域名和托管。
I am getting this error. I cant't run my other pages. just only homepage open with domain name. I am working with free domain and hosting.
当我尝试访问其他页面时,显示错误未指定输入文件。
When I try to access other page it's show me erro No input file specified.
这是我的htaccess代码
here is my htaccess code
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]
我在这里发布问题之前先检查问题的丢失。但无法成功。
任何人都可以帮助我。?
I check lost of question before post question here. but can't get success. any one can help me.?
推荐答案
尝试.htaccess中的此代码对我有效..... ...
Try This Code in .htaccess works for me........
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
这篇关于错误在hostinger.in上未指定输入文件codeigniter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文