[dokuwiki] DokuWiki Farms Idea

Hi everyone,

I just had an idea regarding DokuWiki and wiki farms. It might be dumb ;), but
well, lets see what you think of it.

The biggest problem to solve was how to interfere with the constants set by
DokuWiki, and to let it know where it had to look for the configuration
parameters and so on.

My idea was to add a new event DOKU_INIT. This would allow to create an action
plugin which interferes with DWs init process where all the constants are
defined. All that would be left to do is having different conf/ and data/
directories, everything else like plugins and templates would be shared by all
instances. Those 2 config options would be ideally defined in .htaccess files
or the apache configuration and the action plugin just had to react
and define the constants accoringly. Alternatively it could be set in a master
admin plugin based on $_SERVER['HTTP_HOST'] or the like (I am sure you have
better ideas in this regards ;-)).

What do you think of it? Would that be a possible solution to allow easy
DokuWiki farms based on one single DokuWiki instance?

Cheers,
        Chi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: