The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#
# Simple Mason configuration via httpd.conf directives.
#

# Make sure to preload as much code as we can in the parent process.
PerlModule HTML::Mason::ApacheHandler
PerlModule Apache::Request

# Serve these requests through Mason.
<LocationMatch "(\.html|\.txt|\.pl)$">
  SetHandler perl-script
  PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>

# Hide private components from users.
<LocationMatch "(dhandler|autohandler|\.m(html|txt|pl))$">
  SetHandler perl-script
  PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>