Matthias Zitzmann <[EMAIL PROTECTED]> napisał(a): > $routes = array( > 'form' => new Zend_Controller_Router_Route('form/:action/*', > array('controller' => 'form', 'action' => 'index')), > 'files' => new Zend_Controller_Router_Route('files/view/*', > array('controller' => 'files', 'action' => 'view')), > 'page' => new Zend_Controller_Router_Route(':page/*', > array('controller' => 'index', 'action' => 'index')) > ); > > The most curious thing is, that now anything is redirected to the > 'indexAction' of the 'indexController' - 'files' and 'form', too. Here > is my .htaccess: > Does anybody get an idea? It drives me crazy ...
Manual states that you should define the most generic routes first because they are matched in reversed order. And your "page" route will catch practically anything because it contains catch-all symbol (*). > Matthias -- Martel