Install Dokuwiki on Fedora

Not the easiest task in the world. By default dokuwiki webpages in Fedora 15 is only accessible for localhost.

In order to make dokuwiki webpages global readable and to make it a named virtual host add/change following in /etc/httpd/conf.d/dokuwiki.conf. Change the ServerName and ServerAlias to suit your needs.

<VirtualHost *:80>
ServerName sys64738
ServerAlias *.sys64738.dk
Alias /dokuwiki /usr/share/dokuwiki
DocumentRoot /usr/share/dokuwiki

<Directory /usr/share/dokuwiki>
        Options +FollowSymLinks
        Order Allow,Deny
        Allow from all
</Directory>

<Directory /usr/share/dokuwiki/inc>
        Order Deny,Allow
        Deny from all
</Directory>

<Directory /usr/share/dokuwiki/inc/lang>
        Order Deny,Allow
        Deny from all
</Directory>

<Directory /usr/share/dokuwiki/lib/_fla>
        ## no access to the fla directory
        Order allow,deny
        Deny from all
</Directory>

<Directory /etc/dokuwiki>
        Order Deny,Allow
        Deny from all
</Directory>

</VirtualHost>

For more information check out these links:

http://www.fedoraforum.org/forum/showthread.php?t=261529

The DokuWiki version used with Fedora 15 can be found here: http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2010-11-07a.tgz