« Return to Thread: map domain name to module

Re: map domain name to module

by runa-2 :: Rate this Message:

Reply to Author | View in Thread

Michael Depetrillo wrote:
> Hello Everyone
>
> Has anyone written any code to map a domain name to a specific
> module?  I would like to be able to have a admin-specific-domain.com
> <http://admin-specific-domain.com> parked on top of my application and
> then route all requests to the admin module.

Have you checked the router component?
http://framework.zend.com/wiki/display/ZFDOCDEV/7.+Zend_Controller#7.Zend_Controller-RouteProcess

 « Return to Thread: map domain name to module