Basic setup instructions for adding a wiki (www.dokuwiki.org) to a newly created CS wiki account.
Provided for CS research projects by request to software@cs…
For ease of administrative access to the x-wiki account, use ssh-keygen to create a public/private key. Install the public key in ~x-wiki/.ssh/authorized_keys. (Otherwise, use “sudo -u x-wiki bash”, say, to access the account after logging in to wiki.cs.purdue.edu.)
% ssh-keygen
Save file to, e.g., ~/.ssh/id_rsa_x (and id_rsa_x.pub).
<?php $conf['title'] = 'YOUR TITLE'; $conf['template'] = 'sidebar'; $conf['tagline'] = ''; $conf['baseurl'] = 'http://YOUR-HOST.cs.purdue.edu'; $conf['dmode'] = 0770; $conf['fmode'] = 0660; $conf['useacl'] = 1; $conf['superuser'] = '@admin'; $conf['mailfrom'] = 'YOUR-EMAIL@cs.purdue.edu'; $conf['tpl']['sidebar']['editbtntxt'] = 'edit'; $conf['allowdebug'] = 0; $conf['userewrite'] = 1; @include(DOKU_CONF.'local.protected.php');
Uncomment the rewrite rules section, specifically “RewriteEngine on” and the block of Rule and Cond statements. (Leave the RewriteBase statement commented out.)