Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [06-2006 Date Index] [Date Next] || [Thread Prev] [06-2006 Thread Index] [Thread Next]

[dokuwiki] Wiki farm with DokuWiki

  • From: alvaro@xxxxxxxxx
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 12 Jun 2006 11:30:04 -0300 (BRT)
Hello,
I choose DokuWiki to be my Wiki, but it doesn't support to create wiki
farms [ http://en.wikipedia.org/wiki/Wiki_farm ].
I need to create a great number of wikis (wich wiki have your
administrator, your users etc.) but install one to one will take me
much time, and it's impossible to administrate. So, I tried to modify
dokuwiki:
I installed Doku in 'dokuwiki/' directory and create a 'dokutest/'
directory to create a 'son-wiki' of 'dokuwiki/'
There is an ls -lh dokutest/:
[code]
lrwxrwxrwx  1 www-data www-data  22 2006-06-01 20:42 bin ->
/var/www/dokuwiki/bin
drwxr-xr-x  2 www-data www-data 512 2006-06-05 15:30 conf
drwxr-xr-x  8 www-data www-data 256 2006-06-02 12:53 data
lrwxrwxrwx  1 www-data www-data  27 2006-06-07 09:12 doku.php ->
/var/www/dokuwiki/doku.php
lrwxrwxrwx  1 www-data www-data  27 2006-06-01 20:42 feed.php ->
/var/www/dokuwiki/feed.php
lrwxrwxrwx  1 www-data www-data  22 2006-06-01 20:42 inc ->
/var/www/dokuwiki/inc
lrwxrwxrwx  1 www-data www-data  28 2006-06-01 20:42 index.php ->
/var/www/dokuwiki/index.php
lrwxrwxrwx  1 www-data www-data  22 2006-06-01 20:42 lib ->
/var/www/dokuwiki/lib
[/code]

I created links to easily administrate new versions, plugins etc. and
created local files in conf/ and data/ to wich wiki has your own
users, pages etc.
To do this, I had some problems with this line:
[code]
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__)).'/');
[/code]
that is in MANY files. The problem is: DOKU_INC is set according to
name of file that is executed. So, if 'dokutest/inc/common.php is
running, DOKU_INC ISN'T set to /var/www/dokutest/, but it is set to
/var/www/dokuwiki, because /var/www/dokutest/inc.common.php is a link
to /var/www/dokuwiki/inc.common.php and this last file is the executed
rather than first.
Anybody can help me?

Oh, excuse me by my SO BAD English ;-(

-- 
Abraços,
 Álvaro Justen [Turicas]

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




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.