I have a CodeIgniter install with 2 sets of routers: one for static pages and one for a module.
The routes for static are working:
$route['default_controller'] = 'pages/view';
$route['(:any)'] = 'pages/view/$1';
But the routes for this module display both a 404 when I go the its index and a blank page if I go to any of its child page.
$route['module/(:any)'] = 'module/index/$1';
$route['module/(:any)/(:any)'] = 'module/index/$1/$2';
$route['module/(:any)/(:any)/(:any)'] = 'module/index/$1/$2/$3';
The module files are in views/module.
The 404 error for the index part of the module was fixed with the following:
The blank pages was due to a HMVC path error, but I was able to find the appropriate error by adding
ini_set ('display_errors', '1');into index.php to find where it comes from.