Issue Type: Bug Created: 2010-08-20T01:22:09.000+0000 Last Updated: 2012-11-20T21:37:32.000+0000 Status: Open Fix version(s): Reporter: Damir Mitrovic (damir.mitrovic) Assignee: None Tags: - Zend_Controller_Router
Related issues: Attachments:
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.
Posted by Grayson Koonce (merrix) on 2010-09-04T17:06:33.000+0000
Can you share your virtualhost and host file entries please? I'm trying to reproduce.
Posted by Damir Mitrovic (damir.mitrovic) on 2010-09-05T23:44:22.000+0000
To configure Apache to listen on different port change in httpd.conf: Listen 80 to Listen 8080
Example virtual host that I have - httpd-vhosts.conf:
NameVirtualHost *:8080 #
ServerAdmin email@example.com DocumentRoot "C:\Users\dmitrovic\Documents\svn\trunk\public" ServerName finderbackend DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all #ErrorDocument 403 index.php ErrorLog "logs/project-error.log" CustomLog "logs/project-access.log" common
Have you found an issue?
See the Overview section for more details.