Poll: Hide index.php?
You do not have permission to vote in this poll.
yes
54.10%
33 54.10%
no
27.87%
17 27.87%
maybe
18.03%
11 18.03%
Total 61 vote(s) 100%
* You voted for this item. [Show Results]

  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove index.php from URLs?

#11
WordPress includes wp-config-sample.php file, so CodeIgniter could be bundled with .htaccess-sample file.
Reply

#12
When I first started with CI, I had real difficulty getting rid of the index.php from the url's. However the solution that works for me is a simple five line .htaccess file and a simple config change. I use the same .htaccess on all my sites now. So although it is actually a simple thing, it is quite complicated for newbies and can cause issues.

However working out of the box as widely as possible is very important.

I cannot see any problem with the way CI ships now, with the index.php by default. Perhaps a chapter in the userguide dedicated to this issue would solve newbie problems that I also experienced.

Paul.
Reply

#13
.htaccess = Apache. Don't assume everyone uses Apache. If you are going to supply default/example .htaccess, then you should for all major webserver engines as well (NGINX, IIS, PHP built-in, etc).

Personally, I think this is better left up to the docs instead of skeleton files for every server situation.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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