Issues

ZF2-288: Support optional subdomain pieces in Hostname route

Issue Type: Improvement Created: 2012-05-05T00:27:26.000+0000 Last Updated: 2012-10-08T20:15:18.000+0000 Status: Closed Fix version(s): Reporter: Nicholas Calugar (njcalugar) Assignee: Ben Scholzen (dasprid) Tags: - Zend\Mvc\Router

  • Routing

Related issues: Attachments:

Description

We often develop on domains like http://local.www.example.com, where http://www.example.com is our production URL. It would be nice to match that where the local part is optional (route: :environment.<www.example.com>).

Another use case is our staging environment. We use Akamai to make wildcard subdomains all go to staging environment. So we will have urls like http://some-branch.stage.www.example.com or http://another-branch.stage.www.example.com. It would be nice to optionally match against a route like :branch.:environment.<www.example.com>

Comments

Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:18.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2477

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts