Dokuwiki installation

Paquets
sudo apt-get install php-pear php5-mysql php5-cli

Apache2 config

<VirtualHost *:80>
        ServerName capsis.cirad.fr

        DocumentRoot /var/www/capsis_root

        <Directory /var/www/capsis_root/*>
               Order Allow,Deny
               Allow From all
               Options +Indexes +FollowSymLinks +MultiViews
               AllowOverride None
           RewriteEngine on
        </Directory>

    <Directory /var/www/capsis_root>
        Options -Indexes +FollowSymLinks -MultiViews
        AllowOverride None
        #Order deny,allow
        #Deny From all
        AllowOverride AuthConfig FileInfo Limit
        RewriteEngine on
    </Directory>

    <Directory /var/www/capsis_root/capsis>
        Options -Indexes +FollowSymLinks -MultiViews
        AllowOverride None
        #Order deny,allow
        #Deny From all
        AllowOverride AuthConfig FileInfo Limit
        RewriteEngine on
    </Directory>

        ErrorLog /var/log/apache2/capsis.error.log
    CustomLog /var/log/apache2/capsis.access.log combined
</VirtualHost>

/etc/cron.d/capsis_offline

10 06 * * * root /bin/bash /var/www/capsis_root/capsis/conf/make_offline.sh > /var/log/capsis_offline.log

statistics db

mysql -u root -p
create database capsis_stats character set utf8;

mysql -u sqluser -p capsis_stats < /var/www/capsis_root/capsis/lib/plugins/statistics/db.sql