The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Text::Forge::ModPerl - mod_perl handler

SYNOPSIS

  #### 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

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

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

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

BUGS

Not tested with Apache/mod_perl 2.0 series.

SEE ALSO

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