Welcome Guest, Not a member yet? Register   Sign In
problem with Query database in routes.php file
#3

[eluser]widiastono[/eluser]
that's bring me to what not i want to...

if i write url --> http:\\127.0.0.1\ci\index.php\xxx

but xxx can't find at controller directory so 404 error page will show, in this case i want this will be redirect to default controller.

if i use route like this

$route['(.*)'] = 'default/$1';

it will wrap all uri and redirect to http:\\127.0.0.1\ci\index.php\default


Messages In This Thread
problem with Query database in routes.php file - by El Forum - 07-12-2007, 06:15 PM
problem with Query database in routes.php file - by El Forum - 07-12-2007, 08:11 PM
problem with Query database in routes.php file - by El Forum - 07-12-2007, 09:42 PM
problem with Query database in routes.php file - by El Forum - 07-12-2007, 09:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB