NAME

PurpleWiki::Apache2Handler - Wiki text display handler for mod_perl 2

SYNOPSIS

  in httpd.conf:

  PerlRequire /path/to/PurpleWiki/Apache2Handler.pm
  <FilesMatch *\.wiki>
      SetHandler perl-script
      PerlSetEnv WIKIDB /path/to/wikidb
      PerlResponseHandler  PurpleWiki::Apache2Handler
  </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/templates/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>