I use the zend framework for my application, and I used several regex routes to route users to specific controllers and actions based on parameters in the url.
But when the url pattern does not match, I get a 404 error, for example: Page not found.
How can I specify the configuration so that when the regex path does not match the specified URLs, control is routed to the default controller and action?
FYI, I would like to go to the default "index" and "index" controller
source
share