I am using CodeIgniter and need to get rid of the \"index.php\" in the URL. I copied the .htaccess file from codeigniter tutorial, emptied the $config[\'index_page\'] = \'\'; an
If this is really part of the .htaccess
file, it would cause your problem:
RewriteRule ^{.*)$ /index.php?/$1 [L]
^^^ typo?
Should be:
RewriteRule ^(.*)$ /index.php?/$1 [L]
I too had the same problem but my code was correct and i was using wamp server, then I found rewrite module is not enabled
so went to apache/conf/httpd.conf and uncommented line
LoadModule rewrite_module modules/mod_rewrite.so
Now its working fine.