Hi,

I have the following routes in my INI config file:

companies_index.type                 = "Zend_Controller_Router_Route_Static"
companies_index.route                = "cegek"
companies_index.defaults.controller  = "companies"
companies_index.defaults.action      = "index"

companies_read.route                 = "cegek/:id"
companies_read.defaults.controller   = "companies"
companies_read.defaults.action       = "read"
companies_read.defaults.id           = ":id"
companies_read.reqs.id               = "\d+"

Just like in the docs. However, companies_read seems to capture
http://example.com/cegek too, even there is the reqs attribute set to
\d+ !
Any idea what's wrong?


Thanks,
Ádám

Reply via email to