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

in httpd.conf:
PerlRequire /path/to/PurpleWiki/Apache2Handler.pm
<FilesMatch *\.wiki>
SetHandler perl-script
PerlSetEnv WIKIDB /path/to/wikidb
PerlResponseHandler PurpleWiki::Apache2Handler
</FilesMatch>

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.

The default method for a mod_perl handler.

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

Chris Dent, <cdent@blueoxen.org>