Apache::MiniWiki - Miniature Wiki for Apache
<Location /wiki> PerlAddVar datadir "/home/foo/db/wiki/" PerlAddVar vroot "/wiki" PerlAddVar authen "/home/foo/db/htpasswd" SetHandler perl-script PerlHandler Apache::MiniWiki AuthType Basic AuthName "Sample Wiki" AuthUserFile /home/foo/db/htpasswd Require valid-user </Location>
Apache::MiniWiki is an increadibly simplistic Wiki for Apache. It doesn't have much uses besides very simple installations where hardly any features are needed. What is does support though is; storage of Wiki pages in RCS, templates through HTML::Template, text to HTML conversion with HTML::FromText and basic authentification password changes.
If you want to use your own template for MiniWiki, you should place the template in the RCS file template,v in the datadir. Upon execution, MiniWiki will check out this template and use it. If you make any modifications to the RCS file, a new version will be checked out.
datadir
You can modify the template from within MiniWiki by visiting the URL http://your.server.name/your-wiki-vroot/(edit)/template
If you don't install a template, a default one will be used.
The datadir variable defines where in the filesystem that the RCS files that MiniWiki uses should be stored. This is also where MiniWiki looks for a template to use.
The vroot should match the virtual directory that MiniWiki runs under.
vroot
If this variable is set, it should point to a standard htpasswd file which MiniWiki has write access to. The function to change a users password is then enabled.
Jonas Oberg, <jonas@gnu.org>
perl, HTML::FromText, HTML::Template.
To install Apache::MiniWiki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::MiniWiki
CPAN shell
perl -MCPAN -e shell install Apache::MiniWiki
For more information on module installation, please visit the detailed CPAN module installation guide.