
'(.*)' => 'catchall/index/$1', // route all to the catchall controller, index method
// assume $uri contains the URI you have retrieved
try
{
return \Request::forge($uri, false)->execute();
}
catch (\HttpNotFoundException $e)
{
// request failed, deal with the 404 situation
}
It looks like you're new here. If you want to get involved, click one of these buttons!