Firstly, I'm a novice to MCV. I've probably made a silly mistake I've made a hundred times; however, it's been a few months, and I simply can't figure out what I'm doing wrong. I've successfully done routing before, but just not working today.
I got rid of my previous installation just because I gave up on that project, so I don't have something to look back at. ooops
My issue:
I'm trying to follow the basic blog tutorials by Philip Sturgeon; however, after setting up a link to go to admin/posts/index I get a 404 error.
I've also tried setting up the route: 'admin' => 'admin/posts/index', to no avail.
My main controller is blog, and it works fine.
Also, it may be worth noting that if I set '_root_' => 'admin/posts/index' it works just fine.
Any ideas?
I'm not familiar with that tutorial, but I assume it's using oil to generate the admin backend? There is a file called APPPATH/classes/controller/admin/post.php, containing an Admin_Post class, and has an action_index() method?
It should be able to find those admin controllers without a routing definition.
Tried the cgi settings. None of the three worked.... Including a /index.php/ worked however.
EDIT:
Nevermind, I feel really dumb at the moment. Module_rewrite was default disabled for whatever reason they may have (surely a stupid one).
Works fine now
Thanks for the help everyone!