How to create a new wiki in the farm

  1. Firstly, create a new directory at the root of the web site, for instance MyNew.wiki
  2. Then, create an index.php file in this directory with contents:
    <?php include_once('../farmroot/pmwiki/pmwiki.php');
  3. Create a local directory and copy /farmroot/local/config.php into it
    Edit this config.php file and set the $WikiRootDir variable to the path of the new wiki on the web site. For instance, if you want your wiki to be at fr/mynewwiki, set $WikiRootDir to /mynewwiki.
  4. If this path is different from the name of the directory of the wiki, add a line at the beginning of the root .htaccess file, just after RewriteBase /, of the form:
    RewriteRule ^mynewwiki(.*)$ MyNew.wiki/$1 [L]
  5. Finally, copy the files SiteAdmin.AuthUser and Site.PageActions from /farmroot/wiki.d into the wiki.d directory of the new wiki.

You may now edit the config.php file of the new wiki to set its title, to choose who is an administrator and so on. You may also edit the AuthUser page in the site administration section to add or suppress users and to chose which users belong to which groups.