View Single Post
  #2 (permalink)  
Old 03-22-2008, 05:20 PM
alziromoraes alziromoraes is offline
Junior Member
 
Join Date: Mar 2008
Posts: 5
Default

I'd tried:

$router->addRoute(
'regex1',
new Zend_Controller_Router_Route_Regex(
'tcontrol/(.+?)/*',
array(
'module'=>'mod',
'controller' => 'tcontrol',
'action' => 'index'
),
array(
1 => 'action'
)
)
);
Na url :
http://www.example.com/tcontrol/cale.../p3/tyu/p4/hjk
array(3) {
["action"]=>
string(37) "calendario/p1/jh/p2/ert/p3/tyu/p4/hjk"

["module"]=>
string(3) "mod"
["controller"]=>
string(7) "control"
}

What's wrong?
Reply With Quote