Hostname and Custom routing in Zend Framework don't work together for me
问题 I am building an application that uses hostname routing to detect subdomains like user1.example.com user2.example.com and also have custom routes like user1.example.com/login This works well so far, however when I add custom routes they do not work. I have searched and read a lot but seems there is something I am missing. Here is what I have so far: //my routes in routes.ini [development] routes.login.type = "Zend_Controller_Router_Route" routes.login.route = "/login" routes.login.defaults