Welcome Guest, Not a member yet? Register   Sign In
No input file specified - failed to call rewrite url header (hosted on Godaddy)

Hi, I have a file called


and inside it, I have these

class Media_Share extends Controller
function Media_Share()
$this->base_css = $this->config->item('base_css_folder');
$this->base_image = $this->config->item('base_image_folder');

function index()
$data['base_css'] = $this->base_css;
$data['base_image'] = $this->base_image;


And this page work fine if I set it as a default page in router.php, but if I use the other page as default page and call this page like


I got No input file specified.

I have put

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]

in my .htaccess file

no luck

I have tried

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

no luck.

Any more solution.

Thanks a million in advance.

I finally find a solution for Godaddy's problem with Google search

you can solve this by adding

Options -MultiViews

in .htaccess file

for more detail


Theme © iAndrew 2016 - Forum software by © MyBB