开发者

Two zend applications: one in a subdomain, one on root

I'm using Zend for my corporate website. This website contains two seperate applications, namely the website itself (which is a CMS) and the customer panel. The administration panel will开发者_如何学Python be launched on a subdomain, namely customer.domain.com. The website runs on a shared hosting package.

What would be the smartest configuration for this situation?

Thanks, Martijn


Create the admin panel as a module then use the Hostname router to direct the sub-domain requests to it.


I've choosen the following configuration. On domain-level I've created the application folder. This folder contains two folders, namely 'cms' and 'billings'. I've also created a ServerAlias so that the subdomain points to index.php. In index.php I use PHP's $_SERVER HTTP HOST to determine which application needs to be loaded.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜