Gunter Sammet wrote:
            $browseRoute = new Zend_Controller_Router_Route(
'/:action/:detailPage/*', (...) All requests that have an existing controller (e.g. <base url>/admin or <base url>/admin/index or <base url>/admin/index or <base url>/admin/list/view/test etc.) should use the default route. Any suggestions on how to solve this problem?

If admin is a standalone module, then just remove the default route altogether ($router->removeDefaultRoutes()) and define one more route after your first:

            $route = new Zend_Controller_Router_Route(
               '/admin/:controller/:action/*',
               array(
                   'module'     => 'admin',
                   'controller' => 'index',
                   'action' => 'index'
               )
            );
            $router->addRoute('admin', $route);

TIA

HTH

Gunter

--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Idleness is not doing nothing. Idleness is being free to do anything." --
Floyd Dell

Reply via email to