[dokuwiki] Re: DokuWiki Farms Idea
- From: chi@xxxxxxxxxxx
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 22 Jun 2008 12:08:37 +0200
Maciej Łebkowski writes:
On Sun, Jun 22, 2008 at 11:22, <chi@xxxxxxxxxxx> wrote:
Yep, but the plugins are shared between the farms, so, you could initialize
the constants which are common to all instances first like DOKU_PLUGIN etc.
then fire up the event hook before stuff like DOKU_CONF, DOKU_URL and the
like is set which differs per instance. At least that's how I could imagine
that this could work ;). Maybe I forgot about other caveats here?
For a quick fix i`d rather do:
- one common instalation, with all the plugins, templates, etc
- several "local" instalations
In those local instalations, delete /lib, and other directories that
should be shared and then create symbolic links to the common
instalation in their place.
This way, all the scripts and such will be from a common instalation,
and the data (pages, indexes, etc) and configs will be separate.
Yes I know, http://wiki.splitbrain.org/wiki:farm suggests the same. I'am
rather looking for a out of the box solution which isn't as tedious to setup
like the symlink setup. Well, I guess I'll give it a go and see if I can come
up with something useful ;).
Chi
- Follow-Ups:
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Sebastian Menge
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Guy Brand
- References:
- [dokuwiki] DokuWiki Farms Idea
- From: chi
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Andreas Gohr
- [dokuwiki] Re: DokuWiki Farms Idea
- From: chi
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Maciej Łebkowski
Other related posts:
- » [dokuwiki] DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
On Sun, Jun 22, 2008 at 11:22, <chi@xxxxxxxxxxx> wrote:
Yep, but the plugins are shared between the farms, so, you could initialize the constants which are common to all instances first like DOKU_PLUGIN etc. then fire up the event hook before stuff like DOKU_CONF, DOKU_URL and the like is set which differs per instance. At least that's how I could imagine that this could work ;). Maybe I forgot about other caveats here?
For a quick fix i`d rather do: - one common instalation, with all the plugins, templates, etc - several "local" instalations In those local instalations, delete /lib, and other directories that should be shared and then create symbolic links to the common instalation in their place. This way, all the scripts and such will be from a common instalation, and the data (pages, indexes, etc) and configs will be separate.
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Sebastian Menge
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Guy Brand
- [dokuwiki] DokuWiki Farms Idea
- From: chi
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Andreas Gohr
- [dokuwiki] Re: DokuWiki Farms Idea
- From: chi
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Maciej Łebkowski