[dokuwiki] Re: wiki farm
- From: Cristiano Cumer <ccumer@xxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 23 Aug 2007 11:21:42 +0200
Hullo,
I do it this way:
I have a wikibase dir where the main installation of dokuwiki is and
then I put the conf/ data/ and /lib/plungin dirs in other directories.
I use the php_value auto_prepend_file function of apache:
alias /wiki-test /home/www/ssl/wikibase
<Location /wiki-test/>
php_value auto_prepend_file "/home/www/ssl/wiki-test/conf/
prepend.php"
</Location>
and in prepend.php I have stuff like this:
<?php
define('DOKU_CONF','/home/www/ssl/wiki-test/conf/');
define('DOKU_PLUGIN','/home/www/ssl/wiki-test/lib/plugins/');
It works with some quirks
Ciao
C.
On Aug 22, 2007, at 6:50 PM, Jason Keltz wrote:
Two questions:
1) I have a master DokuWiki directory, and then I symlink the files
in that directory to another directory where I re-create the
directory structure (lndir). I have a fresh copy of "data" and
"conf" in the new location. However, variables like DOKU_INC end
up pointing to the "source" location, and not the "real" location
so DokuWiki can't see the changes to local.php in the symlinked
copy. Of course I can't even set basedir :) Any ideas?
2) I see the data directory can exist in a separate directory, but
can the "conf" directory exist outside the dokuwiki directory?
(I guess this creates a weird chicken and egg problem where you
would need to read the configuration file to know where to find the
configuration file!!)
Jason.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] wiki farm
- From: Jason Keltz
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
Two questions:1) I have a master DokuWiki directory, and then I symlink the files in that directory to another directory where I re-create the directory structure (lndir). I have a fresh copy of "data" and "conf" in the new location. However, variables like DOKU_INC end up pointing to the "source" location, and not the "real" location so DokuWiki can't see the changes to local.php in the symlinked copy. Of course I can't even set basedir :) Any ideas?
2) I see the data directory can exist in a separate directory, but can the "conf" directory exist outside the dokuwiki directory? (I guess this creates a weird chicken and egg problem where you would need to read the configuration file to know where to find the configuration file!!)
Jason. -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] wiki farm
- From: Jason Keltz