Re: [PHP] how to make multiple website on one host

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 1:12 AM, jeffry s <[EMAIL PROTECTED]> wrote: > can you tell me more about mod_rewrite? Apache can [NOTE: This is to the 1.3.x tree] http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html -- Daniel P. Brown Senior Unix Geek -- PHP General Mailing List (http://w

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread jeffry s
can you tell me more about mod_rewrite? On Feb 4, 2008 10:52 AM, Richard Lynch <[EMAIL PROTECTED]> wrote: > > > On Sun, February 3, 2008 1:20 am, jeffry s wrote: > > i am wondering whether this can be done. i know it can. > > is it possible to make one website with the ability to host multiple >

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Richard Lynch
On Sun, February 3, 2008 1:20 am, jeffry s wrote: > i am wondering whether this can be done. i know it can. > is it possible to make one website with the ability to host multiple > website. > it is something like website generator. eg: www.shopify.org > > let say for example i have a website www.

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread jeffry s
On Feb 4, 2008 3:33 AM, Feris Thia C. <[EMAIL PROTECTED]> wrote: > Yes you can. > > Just mirror the additional domains and in your PHP app check the > $_SERVER["HTTP_HOST"] variable. > > Hope this helps ! > > Regards, > > Feris > http://top-10.bigspacehosting.com > > > On Feb 3, 2008 2:20 PM, jeff

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Feris Thia C.
Yes you can. Just mirror the additional domains and in your PHP app check the $_SERVER["HTTP_HOST"] variable. Hope this helps ! Regards, Feris http://top-10.bigspacehosting.com On Feb 3, 2008 2:20 PM, jeffry s <[EMAIL PROTECTED]> wrote: > i am wondering whether this can be done. i know it ca

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Jim Lucas
jeffry s wrote: i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple website. it is something like website generator. eg: www.shopify.org let say for example i have a website www.example.org. i can point a domain name (www.e

Re: [PHP] how to make multiple website on one host

2008-02-02 Thread Larry Garfield
You can, in your code, check the $_SERVER super-global to see what domain name was requested. You can then branch your code however you need to, just as you can for any other conditional. Have a look at the Drupal framework, which includes that exact feature. On Sunday 03 February 2008, jeff

[PHP] how to make multiple website on one host

2008-02-02 Thread jeffry s
i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple website. it is something like website generator. eg: www.shopify.org let say for example i have a website www.example.org. i can point a domain name (www.example1.org) to th