====== DokuWiki on Sourceforge? ======
:?: I'm trying to get DokuWiki running on [[http://sf.net|sourceforge.net]] but whatever I try it doesn't work.
:!: Sourceforge changed its webserver configuration to mount project directories readonly. This means the webserver can't write to the project directories regardless of the set permissions. Unfortunately this makes it nearly impossible to run DokuWiki on sourceforge's webservers. I recommend to set up your wiki on a different host and link your sourceforge project website to this other host. The following free hosters provide similar services to sourceforge's and should be able to run DokuWiki without problems: [[http://developer.berlios.de/|developer.berlios.de]], [[http://dotsrc.org/|dotsrc.org]].
However, Johannes Schaback managed to install DokuWiki on SF although it is not recommended because one have
to place all data files in public space where everyone can tamper with it! This is a big security issue. Basically, one move all folders that require write access to ''/tmp/persistent/YourProjectName'' which will be mountend with write access by the webserver. A more detailed description what you got to do follows. It is assumed that your project
is called //FengGUI// (unix name ''fenggui''). You need to replace FengGUI with your own project name.
- log on SF via SSH
- change to the ''htdocs'' directory in your project directory $>cd /home/groups/f/fe/fenggui/htdocs
- extract the DokuWiki tar in ''/home/groups/f/fe/fenggui/htdocs'' $>tar -xzvf dokuwiki-rc2006-09-28.tgz
- rename the directory ''dokuwiki-rc2006-09-28'' to ''dokuwiki'' $>mv dokuwiki-rc2006-09-28 ./htdocs/dokuwiki
- move the directory ''/home/groups/f/fe/fenggui/htdocs/dokuwiki/data'' to ''/tmp/persistent/fenggui/'' $>mv /home/groups/f/fe/fenggui/htdocs/dokuwiki/data /tmp/persistent/fenggui/
- move the directory ''/home/groups/f/fe/fenggui/htdocs/dokuwiki/conf'' to ''/tmp/persistent/fenggui/'' $>mv /home/groups/f/fe/fenggui/htdocs/dokuwiki/conf /tmp/persistent/fenggui/
- create symbolic links to the two moved folders such that DokuWiki can access the folders without noticing that they are located in a completely different branch in the file system. Change back to the ''dokuwiki'' directory $>cd /home/groups/f/fe/fenggui/htdocs/dokuwiki. Then create symbolic links to the ''data'' and the ''conf'' directory ln -s /tmp/persistent/fenggui/conf'' and ln -s /tmp/persistent/fenggui/data
- make the moved stuff world-writable $>chmod -R 777 /tmp/persistent/fenggui
This should do the trick. You may want to execute ''install.php'' that comes with the nice feature to check the permissions of all necessary folders. Don't forget to backup the ''data'' and ''conf'' directory constantly.
:!: note however, that this means **every user** on sf.net can write/delete **all** your wiki data, including config and **acl**.
maybe you also could just [[http://wiki.splitbrain.org/wiki:export#export_multiple_pages_to_html|mirror the dokuwiki pages from another machine]]?