Text::Forge::ModPerl - mod_perl handler


Text-Forge documentation  | view source Contained in the Text-Forge distribution.

Index


NAME

Top

Text::Forge::ModPerl - mod_perl handler

SYNOPSIS

Top

  #### in httpd.conf
  PerlModule Text::Forge::ModPerl

  <FILES ~ "\.tf$">
    ForgeINC /usr/local/apache/templates
    ForgeCache On
    SetHandler perl-script
    PerlHandler +Text::Forge::ModPerl
  </FILES>

DESCRIPTION

Top

This module connects an Apache/mod_perl server to the Text::Forge templating system.

APACHE DIRECTIVES

* ForgeINC

Where to look for templates to be included within other templates using the $forge->include() method. For example, this could point to a directory that has a common header or footer. No default setting.

* ForgeCache

Weather or not to cache compiled templates. Not recommended for development environments, where changes usually need to be made on the fly. Default is On.

SUPPORT

Top

Please use the Text::Forge Sourceforge.net mailing list to discuss this module. You can subscribe by sending an email to text-forge-devel-subscribe@lists.sourceforge.net.

AUTHOR

Top

Original code by Maurice Aubrey <maurice@hevanet.com>. This document was written by Adam Monsen <adamm@wazamatta.com>.

BUGS

Top

Not tested with Apache/mod_perl 2.0 series.

SEE ALSO

Top

Text::Forge(3), INSTALL guide packaged with Text::Forge, http://text-forge.sourceforge.net/


Text-Forge documentation  | view source Contained in the Text-Forge distribution.