Skip to end of metadata
Go to start of metadata

5.7. Default routes

Zend_Controller_RewriteRouter is preconfigured with two default routes. The first handles your root URL and is mapped to indexAction of IndexController: so you have to provide them as outlined in the Section 4.2, "Getting Started" (see Section 4.2.5, "IndexController"). The second default route is included to provide compatibility with the first version of the router. It will match URIs in the shape of 'controller/action'.

Default rules are configured as:

Note
Though Zend_Controller_RewriteRouter is configured for backwards compatibility it will not match controller/action URIs with additional parameters just yet.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.