Tell dreamhost to use the root directory of Habari's install.
Regarding the db prefix, if you are using the same db for all the
sites, each must have it's own prefix. If you are using a separate db
for each site, the prefix doesn't matter.

Rick

On Sep 12, 8:56 am, "Dr.Hamza Mousa" <[EMAIL PROTECTED]> wrote:
> Thanks alot for the explanation
> infact i was trying to make a sub-dir at first , not a subdomain , but since
> lee's first message , i tried once again with subdomain .
>
> i created the domains but , as am using dreamhost it asks if the dir am
> creating, what is name ?
>
> for ic.aradoctors.com should i make the dir : ic.aradoctors.com or should i
> add the root directory of the Habari's install ?!!
>
> one more thing : after i added the config.php file to thedir , i should
> change the prefix of the DB for each site right ?
>
> am trying to add the subdomain's way now .
>
> thanks alot
>
>
>
> On Fri, Sep 12, 2008 at 12:58 PM, rick c <[EMAIL PROTECTED]> wrote:
>
> > I went to the sitewww.aradoctors.com. It exists and is functioning,
> > so I assume you are trying to create subdomains for it. In that case
> > subdomains need to be called. mit.aradoctors.com and
> > ic.aradoctors.com, not aradoctors.com.mit and aradoctors.com.ic as you
> > have tried. If you are trying to create the subdomains
> > mit.aradoctors.com and ic.aradoctors.com, you should have
>
> > /user/sites/mit.aradoctors.com
>
> > /user/sites/ic.aradoctors.com
>
> > Note that these subdomains must also be created on your server through
> > whatever control panel your host provides or by directly editing the
> > server's vhosts file. Using cpanel, for example, use the create
> > subdomain link to create a new subdomain. In step 5 of my first
> > message I was referring to this when I said to tell your server to use
> > your Habari root as the root directory of the subdomain or domain you
> > are creating. The subdomain or domain you are creating has to be real.
> > It can't be made up.
>
> > Rick
>
> > On Sep 12, 12:53 am, "Dr.Hamza Mousa" <[EMAIL PROTECTED]> wrote:
> > > i tried but i think i lose some points
>
> > > i used the exciting installation ( old install atwww.aradoctorss.com) ,
> > > i added sites dir , inside
>
> > > i made these directory in it
>
> > > aradoctors.com
> > > aradoctors.com.mit
> > > aradoctors.com.ic
>
> > > added the config.php in all of them, change the prefix_ for all of them
>
> > > and didn't work yet
>
> > > On Fri, Sep 12, 2008 at 6:09 AM, rick c <[EMAIL PROTECTED]> wrote:
>
> > > > The ability to simply run multiple sites out of the box is one of the
> > > > advantages of using Habari. To set up a Habari installation to be used
> > > > for multiple sites:
>
> > > > 1. Create a '/sites' directory under '/user'. The path ends up being '/
> > > > user/sites'.
>
> > > > 2. Create a directory under '/sites' for the site you are creating. If
> > > > you are using a subsite such as sub.example.com, your directory
> > > > structure will end up looking like '/user/sites/sub.example.com'. If
> > > > you are using an independent site, such aswww.example.com, your
> > > > directory structure will end up looking like '/user/sites/
> > > > example.com'. (If you leave off the 'www' part, bothwww.example.com
> > > > and example.com will redirect to this site.
>
> > > > 3. Copy the config.php file from the 'system/schema/' directory for
> > > > the type of database you are using to the directory you created in
> > > > step 2.
>
> > > > 4. Fill out the config.php file as you normally would. Enter the
> > > > connection string for your database. If you are using MySQL or
> > > > PostGres, fill in the username and password. For all three you can
> > > > enter a table prefix if you are using one. If you're not using a table
> > > > prefix, make it an empty string.
>
> > > > 5. Tell your web server that the root directory for the site is the
> > > > root of the Habari installation, just as you would if you were only
> > > > setting up Habari to run one site.
>
> > > > 6. Navigate to the site and install as usual.
>
> > > > If you wish to run additional sites, just create more directories
> > > > under 'user/sites' and follow the steps above. Each is able to use
> > > > their own database, or can all share one database. If you do that,
> > > > make sure you use different table prefixes for each site. If you use
> > > > SQLite, the database will default to being created in Habari's root
> > > > directory unless you enter a full path to where you want the SQLite
> > > > database created. You can also create a '/plugins' and a '/themes'
> > > > directory under each site, so each is independently using their own
> > > > plugins, or they can share the system plugins and any plugins you've
> > > > installed in the '/user/plugins' directory. I hope this helps.
>
> > > > Rick
>
> > > > On Sep 11, 10:57 pm, "Dr.Hamza Mousa" <[EMAIL PROTECTED]> wrote:
> > > > > Hi
>
> > > > > am testing Habari , however coming cross the multi-site
> > settinghttp://
> > > > wiki.habariproject.org/en/Multisite, what exactly should i
> > > > > edit in config.php file !!!!!
>
> > > --
> > > Hamza E.e Mousa
>
> > >www.neoxero.comwww.goomedic.comwww.medpeek.com
>
> --
> Hamza E.e Mousa
>
> www.neoxero.comwww.goomedic.comwww.medpeek.com
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to