I am trying to do something similar and any advice would be great.
I have the following structure
/application
--/commonground
/bootstrap.php
/controllers
--/AclController.php
--/sub1
/controllers
--/HelloController.php
--/sub2
/controllers
--/SecretController.php
that all make sense?
Thanks.
Bill
--- On *Fri, 8/8/08, Ben Scholzen 'DASPRiD' /[EMAIL PROTECTED]/* wrote:
From: Ben Scholzen 'DASPRiD' [EMAIL PROTECTED]
Subject: Re: [fw-general] Subdomains and Zend Framework
To: maxarbos [EMAIL PROTECTED]
Date: Friday, August 8, 2008
If your looking to route requests based on subdomains, I created a route that
does just that a few months ago for Zym.
http://trac2.assembla.com/zym/browser/trunk/incubator/library/Zym/Controller/Router/Route/HttpHost.php
Basically it routes based on the domain...
':user.*.*' would match
Ah, and you even say so in the documentation:
The standard rewrite router should provide most functionality
you may need; most often, you will only need to create a new
route type in order to provide new or modified functionality
over the provided routes.
Thanks for the
*From:* Jason Qi [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, May 08, 2008 9:38 AM
*To:* Jerry McG; fw-general@lists.zend.com
*Subject:* Re: [fw-general] Subdomains and Zend Framework
Yes, I agree with you. To computer, there are no different between
*From:* Jason Qi [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, May 08, 2008 9:38 AM
*To:* Jerry McG; fw-general@lists.zend.com
*Subject:* Re: [fw-general] Subdomains and Zend Framework
Yes, I agree with you. To computer, there are no different between
www and Chicago
Matthew Ratzloff wrote:
Or have one installation, rewrite all URLs to index.php, and extend your
own router and route (I believe) from Zend_Controller_Router_Rewrite and
Zend_Controller_Router_Route. That would be the cleanest way.
It's sufficient to create a new route class.
-Matt
--
@Eric: The same app will run in all the subdomains. I want to run the same
PHP files across all subdomains yet not have the files physically present
under each subdomain folder.
@Matt Mike: I will attempt the router method.
--
View this message in context:
Yes, I agree with you. To computer, there are no different between www and
Chicago or Newyork, but the name itself.
Jason.
Jerry McG [EMAIL PROTECTED] wrote:
Hi All,
I have a file system layout similar to the recommendation at
Subject: Re: [fw-general] Subdomains and Zend Framework
Yes, I agree with you. To computer, there are no different
between www and Chicago or Newyork, but the name itself.
Jason.
Jerry McG [EMAIL PROTECTED] wrote
10 matches
Mail list logo