Apache-MiniWiki
view release on metacpan or search on metacpan
NAME
Apache::MiniWiki - Miniature Wiki for Apache
DESCRIPTION
Apache::MiniWiki is a 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
- basic authentication password changes
- uploading of binary (pdf, doc, gz, zip, ps)
- uploading of images (jpg, jpeg, gif, png)
- automatic thumbnailing of large using ImageMagick
- sub directories
- view any revision of a page
- revert back to any revision of the page
- basic checks to keep search engine spiders from deleting
all the pages in the Wiki
DEPENDENCIES
This module requires these other modules:
Apache::Htpasswd
Apache::Constants
CGI
Date::Manip
Image::Magick (Optional)
HTML::FromText
HTML::Template
Rcs
SYNOPSIS
Add this to httpd.conf:
<Location /wiki>
PerlAddVar datadir "/home/foo/db/wiki/"
PerlAddVar vroot "/wiki"
SetHandler perl-script
PerlHandler Apache::MiniWiki
</Location>
AUTHENTICATION EXAMPLES
Require a password to read/write any page:
<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>
Public can read, but need password to edit/save/revert a page:
<Location /wiki>
PerlAddVar datadir "/home/foo/db/wiki/"
PerlAddVar vroot "/wiki"
PerlAddVar authen "/home/foo/db/htpasswd"
SetHandler perl-script
PerlHandler Apache::MiniWiki
Require valid-user # or group foo or whatever you want
PerlAccessHandler Apache::MiniWiki::access_handler
AuthType Basic
AuthName "Sample Wiki"
AuthUserFile /home/foo/db/htpasswd
( run in 0.617 second using v1.01-cache-2.11-cpan-df04353d9ac )