The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OpenFrame::Example::ApacheSimple - Demo Apache Pipeline

SYNOPSIS

  SetHandler  perl-script
  PerlSetVar  cwd /home/website/
  # PerlSetVar  debug 1
  PerlHandler OpenFrame::Example::ApacheSimple

DESCRIPTION

OpenFrame::Example::ApacheSimple is an example pipeline which loads static content.

The actual handler is quite short. The important part is to set up a pipeline which has a OpenFrame::Segment::Apache::Request segment at the beginning and a OpenFrame::Segment::Apache::Response as a cleanup segment. Also, remember to check for an ofDECLINE and return DECLINED in that case, or OK otherwise.

AUTHOR

Leon Brocard <acme@astray.com>

COPYRIGHT

Copyright 2002 Fotango Ltd. Licensed under the same terms as Perl itself.