Welcome Guest, Not a member yet? Register   Sign In
default_controller gives 404
#1

[eluser]Sixer[/eluser]
Hi, my routes.php looks like this:
Code:
$route = array(
                 "default_controller"  => "c_Home", // 404
                 "scaffolding_trigger" => "",
                 "home"       => "c_Home",  // works
                 "tag/:any"  => "c_Tag/view",
                 "tags"        => "c_Tag/all"
                 );

As stated in the comments, my default_controller, that is visiting the site's domain, gives a CI generated 404. Visiting /home/ however takes me to the right page.

I've tried changing the URI protocol to the various options but no cigar.

I'm running CodeIgniter 1.6.3 on PHP5 and Apache 2.0.55 on Ubuntu 6.06.

Any ideas?


Messages In This Thread
default_controller gives 404 - by El Forum - 10-05-2008, 03:49 PM
default_controller gives 404 - by El Forum - 10-06-2008, 12:05 AM
default_controller gives 404 - by El Forum - 10-06-2008, 03:26 AM
default_controller gives 404 - by El Forum - 10-06-2008, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB