|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Subdomains and Zend FrameworkHi 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. |
|
|
Re: Subdomains and Zend FrameworkYes, I agree with you. To computer, there are no different between "www" and " Chicago" or "Newyork", but the name itself.
Jason. Jerry McG <kumar.smg@...> wrote:
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |
|
|
RE: Subdomains and Zend FrameworkIs each subdomain running the same app or are there diffs
in the code across the subdomains?
--
Eric Marden
|
|
|
Re: Subdomains and Zend FrameworkCristian
|
|
|
Re: Subdomains and Zend FrameworkOr 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. -Matt On Fri, May 9, 2008 2:16 am, Cristian Bichis wrote: > Try to symlink each folder path to www folder, or otherwise from apache > customize folder for each subdomain to be same. > > Cristian >> Is each subdomain running the same app or are there diffs in the code >> across the subdomains? >> >> >> -- >> Eric Marden >> >> >> ------------------------------------------------------------------------ >> *From:* Jason Qi [mailto:qry@...] >> *Sent:* Thursday, May 08, 2008 9:38 AM >> *To:* Jerry McG; fw-general@... >> *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 <kumar.smg@...>/* 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-tp17125088p17125088.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------ >> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. >> Try it now. >> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20> >> > > |
|
|
Re: Subdomains and Zend FrameworkMatthew 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 -- Michał Minicki aka Martel Valgoerad | martel@... | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "Idleness is not doing nothing. Idleness is being free to do anything." -- Floyd Dell |
|
|
Re: Subdomains and Zend Framework@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. |
|
|
Re: Subdomains and Zend FrameworkAh, 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 clarification, Martel. -Matt On Fri, May 9, 2008 11:43 am, MichaÅ Minicki wrote: > 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. |
|
|
Zend_Config_Db Proposal finished-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hello folks, I'd just like to announce that I've just finished my Zend_Config_Db proposal. Before I continue to define deeper functionality, I'd want that you tell me your thoughts about it in the proposal comments. After I've received some feedback, I'm going to create a prototype. http://framework.zend.com/wiki/display/ZFPROP/Zend_Config_Db+-+Ben+Scholzen Best regards, Ben Scholzen - -- ................................... : ___ _ ___ ___ ___ _ ___ : : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : :........:........................: : Web : http://www.dasprids.de : : E-mail : mail@... : : Jabber : jabber@... : : ICQ : 105677955 : :........:........................: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIJd+Z0HfT5Ws789ARAk7RAJ4mPkp0HoLs3TSFFLiPEcujw9nrbQCgyHCV Pf7iyRyoEyHciRhGJjYmz30= =zEaW -----END PGP SIGNATURE----- |
|
|
Re: Subdomains and Zend FrameworkIf 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 SpotSec.Foo.Com SpotSec would be the user var and * would be a domain |
| Free Forum Powered by Nabble | Forum Help |