ZF-10349: Zend_Controller_Router_Route_Hostname assemble metod does not take port for url
I am working on Windows 7 with Zend Server where Apache virtual hosts are set to listen on 8080 port.
I've created application that uses modules. What I wanted to achieve is that application which runs on admin.project:8080 is using admin application module.
I've added following route settings:
resources.router.routes.admin.type = "Zend_Controller_Router_Route_Hostname" resources.router.routes.admin.route = "admin.project" resources.router.routes.admin.defaults.module = "admin" resources.router.routes.admin.chains.index.type = "Zend_Controller_Router_Route" resources.router.routes.admin.chains.index.route = ":controller/:action/*" resources.router.routes.admin.chains.index.defaults.controller = "index" resources.router.routes.admin.chains.index.defaults.action = "index"
When I accessed admin.project:8080 it seemed to be working. Except, Url view helper that generated urls in format:
What is missing is port - since application works on 8080.