Php 基本URL-戈达迪-系统代码点火器

Php 基本URL-戈达迪-系统代码点火器,php,.htaccess,codeigniter,hosting,base-url,Php,.htaccess,Codeigniter,Hosting,Base Url,我需要一些帮助,我已经去爸爸的主机和子域名。我还有一个简单的HTML网站,它包含在codeigniter系统中。问题是主页可以工作(),但所有子页都不能工作,我得到错误: No input file specified. 我在集合中的基本url: $config['base_url'] = 'http://new.bendcare.com'; 我目前的.htaccess是: <IfModule authz_core_module> Require all denied <

我需要一些帮助,我已经去爸爸的主机和子域名。我还有一个简单的HTML网站,它包含在codeigniter系统中。问题是主页可以工作(),但所有子页都不能工作,我得到错误:

No input file specified. 
我在集合中的基本url:

$config['base_url'] = 'http://new.bendcare.com';
我目前的.htaccess是:

<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
    Deny from all
</IfModule>

# Mod Rewrite
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

要求全部拒绝
全盘否定
#修改
选项+FollowSymLinks
重新启动发动机
重写基/
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
我发现我应该在godady主机上添加#Mod Rewrite才能正常工作,但我的情况不是这样


我应该做些什么来让codigniter在godady主机上工作?我在其他主机上没有问题

只需添加?在.htaccess文件中的index.php之后签名:

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

这会有用的

只需添加?在.htaccess文件中的index.php之后签名:

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

这会有用的

您将.htaccess放置在哪里?它应该位于应用程序文件夹的外侧。不要触摸应用程序文件夹中的.htaccess。你把.htaccess放在哪里了?它应该在应用程序文件夹的外面。不要触摸应用程序文件夹中的.htaccess。