NAME

PurpleWiki::Apache1Handler - Wiki text display handler for mod_perl 1

SYNOPSIS

in httpd.conf:

PerlRequire /path/to/PurpleWiki/Apache1Handler.pm
# OR PerlSetEnv PERL5LIB /path/to/PurpleWiki
<FilesMatch *\.wiki>
    SetHandler perl-script
    PerlSetEnv WIKIDB /path/to/wikidb
    PerlHandler  PurpleWiki::Apache1Handler
</FilesMatch>

DESCRIPTION

A simple display handler for web content files that are formatted as PurpleWiki wikitext. The handler reads in the *.wiki file, parses it to a PurpleWiki::Tree and presents it using the template defined in wikidb/template/handler.tt.

METHODS

handler()

The default method for a mod_perl handler.

BUGS

When an error condition occurs, such as a file not found, an HTTP 200 OK is still returned.

AUTHORS

Chris Dent, <cdent@blueoxen.org>