• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index.php keep showing

#1
[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.

#2
[eluser]Michael Wales[/eluser]
Edit your config.php - the comments tell all.

#3
[eluser]EEssam[/eluser]
Aha, that fixed the issue. Many thanks.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.