Zend_Controller_Router_Route
问题 I'm trying to make a Router that can respond to this structure: module/controller/action/id and module/controller/action/page The only difference is is 'id' or 'page'. I'm using this code: $routeAdmin = new Zend_Controller_Router_Route( 'administrador/:controller/:action/:id/:pg', array( 'module' => 'administrador', 'controller' => 'index', 'action' => 'index', 'id' => 0, 'pg' => 1 ), array( 'id' => '\d+', 'pg' => '\d+' ) ); $router->addRoute('administrador', $routeAdmin); The problem is that