| PurpleWiki documentation | view source | Contained in the PurpleWiki distribution. |
PurpleWiki::Apache1Handler - Wiki text display handler for mod_perl 1
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>
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.
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>
| PurpleWiki documentation | view source | Contained in the PurpleWiki distribution. |