Tuesday, August 30, 2011

CodeIgniter – No input file specified error – .htaccess – PHP5 – Apache 2

simply i used following .htaccess code


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


difference of below code and codeigniter documentation code is "?" of third row. i highlighted it.


No comments: