I believe there is a bug in 3.1.1, or at least when migrating from 3.1.0 to 3.1.1 - the index method of Index controller stops working and gives 404.
I used this migration guide. http://www.codeigniter.com/user_guide/in...e_311.html
I used this migration guide. http://www.codeigniter.com/user_guide/in...e_311.html