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 I have sub1.domain.com and sub2.domain.com Controllers in the /commonground module, should be accessible for all requests (ACL and Custom functions are here as well as shared code between sub1 and sub2) I want to be able to call: sub1.domain.com/hello and have the HelloController properly process as well as any in the /commonground if needed (such as ACL) Is this possible? Thank you. Jerry McG wrote: > > Hi All, > > I have a file system layout similar to the recommendation at > http://framework.zend.com/manual/en/zend.controller.html#zend.controller.quickstart.go.directory > I would like to work with subdomains such as http://chicago.example.com > and http://newyork.example.com. I have added these subdomains in my Apache > virtual hosts file as well as in the Windows hosts file. Now, how can I > make subdomains work in Zend Framework. Should I create folders called > Chicago and Newyork and repeat the recommended layout within these > folders? > > Please guide me. > > Thanks! > > Jerry. > -- View this message in context: http://www.nabble.com/Subdomains-and-Zend-Framework-tp17125088p18893921.html Sent from the Zend Framework mailing list archive at Nabble.com.