[dokuwiki] Re: wiki farm
- From: Simon Heimlicher <heimlicher@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 28 Aug 2007 08:31:56 +0200
Just to point out for those interested -- there are over 50 references
to realpath in define statements throughout the DokuWiki code. This
leaves me wondering ... if instead, DokuWiki included a custom
realpath that did NOT resolve symlinks, I believe this would allow
DokuWiki to work in both standard (no symlink) or wiki farm (symlink)
environments.
This is exactly what I was thinking about since your first mail :-) A
patch would be welcome.
Another modification that would be most helpful in using DokuWiki in a
farm setup is to have separate definitions for all configuration files.
In our wiki farms, we have replaced all calls to
DOKU_CONF.'local.conf.php' and DOKU_CONF.'acl.auth.php' with
$conf['conffile'] and $conf['aclfile'], respectively.
Thus, those files can be managed separately for each wiki, but the rest
of the DOKU_CONF directory can still be shared.
It would probably be best to come up with a separate DOKU_CONF_...
definition for every file.
Would a patch achieving this also have a chance to be included in future
DokuWiki versions, or are the hardwired config file names the preferred
way of doing this?
Simon
--
Simon Heimlicher
Communication Systems Research Group, ETH Zurich
Web: http://www.csg.ethz.ch/people/simonh
Office: ETZ G 60.1, Gloriastrasse 35, 8092 Zurich
Phone: +41 44 632 7022 Fax: +41 44 632 1035
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] wiki farm
- From: Jason Keltz
- [dokuwiki] Re: wiki farm
- From: Jason Keltz
- [dokuwiki] Re: wiki farm
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
- » [dokuwiki] Re: wiki farm
Just to point out for those interested -- there are over 50 references to realpath in define statements throughout the DokuWiki code. This leaves me wondering ... if instead, DokuWiki included a custom realpath that did NOT resolve symlinks, I believe this would allow DokuWiki to work in both standard (no symlink) or wiki farm (symlink) environments.
This is exactly what I was thinking about since your first mail :-) A patch would be welcome.
- [dokuwiki] wiki farm
- From: Jason Keltz
- [dokuwiki] Re: wiki farm
- From: Jason Keltz
- [dokuwiki] Re: wiki farm
- From: Andreas Gohr