I\'m using Ubuntu 13 with the following setup for a local codeigniter site.
Apache/2.4.6 (Ubuntu) 5.5.3-1ubuntu2.2 \'CI_VERSION\', \'2.1.2\'
copy following code to .htaccess in your root folder
.htaccess
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L] Options All -Indexes
This works fine for me to remove index.php in CodeIgniter.