Hello all,
I try to set up a wiki farm using dokuwiki-2008-05-05.tgz. The farmer lives in /var/www/wiki/ and the animals live in their respective stables /var/www/wiki/cow, /var/www/wiki/sheep, /var/www/chicken.
To setup the animals, I created a script which resides in /var/www and seems to work so far:
#> cat create_animal.sh
#! /bin/bash
echo -n "Name the animal (wiki-name, [alpha|num]+[_|-]*[alpha|num]*): "
read -e ANINAME
mkdir wiki/$ANINAME
cd wiki/$ANINAME
cp -pr ../data .
cp -pr ../conf .
cp -pr ../install.php .
ln -sf ../lib lib
ln -sf ../inc inc
ln -sf ../doku.php doku.php
ln -sf ../doku.php index.php
ln -sf ../feed.php feed.php
chmod -R a+w data conf
rm conf/local.php
rm conf/users.auth.php
rm conf/acl.auth.php
rm data/pages/start.txt
rm -rf data/cache/*
cd ../
The created animals, however, behave stangely:
* Search does not work (it doesn't seem to work in the example-setup of
http://www-isis.u-strasbg.fr/bug/menagerie/ either).
* If you work with namespaces, use links such as
[[testns1:entry1..3|ns1 e1..3]]
and
[[testns2:entry1..3|ns1 e1..3]]
and then go to the “Index” page, not all pages are shown to the respective namespace. The namespaces
wiki and
playground are shown correctly and each is extendable to reveal the pages for the namespace. The namespaces
testns1 and
testns2 are also listed, but not extendable. Moreover, the pages of only one of the namespaces are shown (instantly, without expansion) depending on which page was visited before. For example: If a page of
testns1 was visited, only the pages belonging to
testns1 are listed. If a page of
testns2 was visited last, only the pages belonging to
testns2 are listed. (The example-setup does not use namespaces, therefore I couldn't verify this behavior there.)
The question now is whether I missed something and what I could do to solve these problems.
TIA,
Marc
Edit:
(Of course, I followed
http://www.dokuwiki.org/tips:farm)
Edit 2:
Changed topic to indicate that the problem is solved.