Briding Subsites

4 views
Skip to first unread message

Joshua Moon

unread,
Oct 7, 2009, 11:33:27 AM10/7/09
to habari-dev
Hey guys,

I intend on creating several "sub-websites" within on domain that
addresses multiple activities I am into. How (and could) I make it so
that only "x.website.com" sees certain posts and "y.website.com" sees
another cluster? Would I need to use different installations and
different databases?

Thanks in advance.

Josh Wood

unread,
Oct 8, 2009, 6:26:50 PM10/8/09
to habar...@googlegroups.com

You can use one 'installation' of the habari source files, with a
database (or potentially a table name prefix_ convention) and
configuration for each independent site. See
http://wiki.habariproject.org/en/Multisite.

-Josh

Joshua Moon

unread,
Oct 9, 2009, 9:15:05 AM10/9/09
to habari-dev
On Oct 8, 5:26 pm, Josh Wood <jos...@gmail.com> wrote:
> On Wed, Oct 7, 2009 at 8:33 AM, Joshua Moon <ichver...@gmail.com> wrote:
>
> You can use one 'installation' of the habari source files, with a
> database (or potentially a table name prefix_ convention) and
> configuration for each independent site. Seehttp://wiki.habariproject.org/en/Multisite.
>
> -Josh

I looked into that and am having a lot of trouble figuring out exactly
what I am supposed to do. What files am I to put in each site
directory and where does the actual installation go?

rick c

unread,
Oct 9, 2009, 2:01:22 PM10/9/09
to habari-dev
You just have to put a config.php file in each site directory.

Grab a copy of the config.php file from the appropriate schema
directory located in /system/schema. Fill it out with your connection
details, save it in the site directory, then run the installer. If
you're using the SQLite backend, the db will be created in the site
directory. If you're using the MySQL back, it will be created wherever
your MySQL databases live.

Rick
Reply all
Reply to author
Forward
0 new messages