Activities

February 2012
M T W T F S S
« Jan   Mar »
 12345
6789101112
13141516171819
20212223242526
272829  

CodeIgniter – No input file specified error

Sometimes you may get this error when you switch the web server API module to CGI/FastCGI. I got this error during the site migration time.

Quick fix for this error is, add a “?” append to index.php which written in .htaccess file.

The new .htaccess file part will looks like,

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

A simple fix 🙂

3 comments to CodeIgniter – No input file specified error

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>