View on
MetaCPAN
Léon Brocard > OpenFrame-Segment-Apache2-1.00 > OpenFrame::Example::Apache2Simple

Download:
OpenFrame-Segment-Apache2-1.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.00   Source  

NAME ^

OpenFrame::Example::Apache2Simple - Demo Apache2 Pipeline

SYNOPSIS ^

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

DESCRIPTION ^

OpenFrame::Example::Apache2Simple 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::Apache2::Request segment at the beginning and a OpenFrame::Segment::Apache2::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.

syntax highlighting: