index.php keep showing - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: index.php keep showing (/showthread.php?tid=9009) |
index.php keep showing - El Forum - 06-08-2008 [eluser]EEssam[/eluser] Hello, I'm coding in http://localhost/somefolder so I created a .htaccess file like the following: RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ ./index.php/$1 [L] I copied that from CI docs, I just added the ./ on the last line, and it's working but the all the links are showing the index.php again! If I remove the index.php manually the links work as well. So, why index.php is being added and how can I get rid of it forever? Thanks. index.php keep showing - El Forum - 06-08-2008 [eluser]Michael Wales[/eluser] Edit your config.php - the comments tell all. index.php keep showing - El Forum - 06-09-2008 [eluser]EEssam[/eluser] Aha, that fixed the issue. Many thanks. |