How to create a new wiki in the farm
- Firstly, create a new directory at the root of the web site, for instance
MyNew.wiki
- Then, create an index.php file in this directory with contents:
<?php include_once('../farmroot/pmwiki/pmwiki.php');
- Create a
local
directory and copy/farmroot/local/config.php
into it
Edit thisconfig.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
, setfr/mynewwiki
$WikiRootDir
to/mynewwiki
. - 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 afterRewriteBase /
, of the form:RewriteRule ^mynewwiki(.*)$ MyNew.wiki/$1 [L]
- Finally, copy the files
SiteAdmin.AuthUser
andSite.PageActions
from/farmroot/wiki.d
into thewiki.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.