I'm making a multu module application (frontend and backend module):
let's say that my app directory is in:
The frontend module is based on the base uri of the application ( https://localhost/MyApp/:controller/:actions...)
The backend module is executed when https://localhost/MyApp/backend/:controller/:action
But the problem that I have to define all the routes for the second module like this
$router->add('/backend/products(\/|)', array(
'module' => 'backend',
'controller' => 'products',
'action' => 'index',
));
even if I define the backend is the default module, I have to tell the router every uri to mach.