I would like to get only one parameter.
For example site.ru/controller/action/param1/value/
But if I request follow url:
site.ru/controller/action/param1/value/param2/value2/param3/value4/
by default I havn't any error.
Is it possible to set up the depth for url parameters? Or I shuld do it manually via url parsing?
The default route allows any number of parameters after the
:module/:controller/:action(or just:controller/:action) parts.If you want to limit this, create your own route.
See http://framework.zend.com/manual/en/zend.controller.router.html