title: dynamic controller in router zend framework 1.11
body: <p>How work multi controller in route?
  My route:</p>
  
  <pre><code>$router-&gt;addRoute(
         'index',
         new Zend_Controller_Router_Route('/:lang/:@action',
             array(
                  'lang' =&gt; 'en',
                 'module' =&gt; 'default',
                 'controller' =&gt; 'index',
                 'action' =&gt; 'index'
             )
         )
      );
  </code></pre>
  
  <p>This route work with index controller, but not work with auth controller. 
  how to work with that route and index auth controller?</p>
  
  <p>My menu item:</p>
  
  <pre><code>$this-&gt;url(array('controller'=&gt;'Auth','action'=&gt;'index')
  </code></pre>
  
  <p>This menu item, not work.
  My complete function _initRoutes()</p>
  
  <pre><code>protected function _initRoutes(){
  
      $frontController = Zend_Controller_Front::getInstance();
      $router = $frontController-&gt;getRouter();
      $router-&gt;removeDefaultRoutes();
      $router-&gt;addRoute(
              'fullRoute',
              new Zend_Controller_Router_Route('/:lang/:module/:controller/:action',
                      array('lang' =&gt; ':lang')
              )
      );
      $router-&gt;addRoute(
              'languageControllerAction',
              new Zend_Controller_Router_Route('/:lang/:controller/:action',
                      array('lang' =&gt; ':lang')
              )
      );
  
      $router-&gt;addRoute(
         'index',
         new Zend_Controller_Router_Route('/:lang/:@action',
             array(
                  'lang' =&gt; 'en',
                 'module' =&gt; 'default',
                 'controller' =&gt; 'index',
                 'action' =&gt; 'index'
             )
         )
      );
  
  }
  </code></pre>
  
  <p>I need route for action of controller auth.</p>