Note the difference with the added "?" character after ".php", especially when dealing with CodeIgniter:
RewriteRule ^(.*)$ index.php/$1 [L]
vs.
RewriteRule ^(.*)$ index.php?/$1 [L]
It depends on several other things.. if doesn't work, try the other option!