I am using this htaccess file on my site to remove index.php.
RewriteEngine on
RewriteCond $1 !^(index\.php)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
But this file doesn't work.Rewriting is enabled in Apache module.Version of codeigniter used is 2.0.1.