use the router regex, see http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.regex
On Sun, Mar 1, 2009 at 6:56 AM, zendlearner <[email protected]> wrote: > > Hi, > suppose I have a FooController and barAction for a domain called > domain.com. > If I enter http://domain.com/foo/bar.html (with the .html appended to the > url), the default router will no longer map 'foo' to FooController and > 'bar' > to barAction. How can I have .html or .php appended to the end of the url > and have Zend Framework interpret the controller and action? Are there any > examples? Any help in the right direction will be greatly appreciated. > -- > View this message in context: > http://www.nabble.com/How-to-route-http%3A--domain.com-foo-bar.html-to-FooController-and-barAction-tp22269871p22269871.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Vincent Gabriel. Lead Developer, Senior Support. Zend Certified Engineer.
