DokuWiki

Installation

Toute la doc se trouve ici: http://wiki.splitbrain.org/wiki:dokuwiki

vous pouvez downloader la derniere version stable sur ce site. Il faut:

  1. La mettre sur le nas (exemple avec la version dokuwiki-2008-05-05.tgz)
  2. Se connecter en telnet sur le nas (root)et tapez les commandes: gunzip -c dokuwiki-2008-05-05.tgz |tar -xvf - puis mv dokuwiki-2008-05-05 dokuwiki et enfin chmod -R a+w dokuwiki
  3. Tapez dans un browser avec votre url: http://www.leo-stitch.com/dokuwiki/install.php
  4. Si vous avez des problemes de droits comme moi, modifiez le fichier dokuwiki/inc/init.php
function init_path($path)
{
  // check existance
//  $p = fullpath($path);
//  if(!@file_exists($p))
  {
//    $p = fullpath(DOKU_INC.$path);
$test=DOKU_INC;
print("the DOKU_INC=$test<br/>");
    $p = DOKU_INC.$path;
  print("p2=$p<br/>");
    if(!@file_exists($p))
    {
      return '';
    }
  }

Ne plus utilisez fullpath si vous avez des liens!

Trucs & Astuces

security test:
Ne doit pas etre accessible:
http://www.leo-stitch.com/dokuwiki/data/pages/wiki/dokuwiki.txt

Si c'est le cas:
Ajouter dans apache httpd.conf apres

#
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

Ajouter:
<LocationMatch "/(data|conf|bin|inc)/">
    Order allow,deny
    Deny from all
    Satisfy All
</LocationMatch>

When upgrading your installation, it might happen that DokuWiki continues to show the update message, even though the number in doku.php was increased by the upgrade. This is because DokuWiki caches already fetched messages for a day and will only refetch if the last modified timestamp of doku.php is higher than the one of the cache file. To stop the outdated update message from showing you can simply wait a day, touch1) the doku.php or delete the data/cache/messages.txt cache file.

M:/SanDiegoWWW/www/dokuwiki/data/pages/dokuwiki.txt · Dernière modification: 2015/04/15 21:26 par admin
 
Sauf mention contraire, le contenu de ce wiki est placé sous la licence suivante : CC Attribution-Noncommercial 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki