NAME

MasonX::Resolver::PAR - Get mason components from a PAR file

SYNOPSIS

        (Inside a web.conf)     
        PerlModule HTML::Mason::ApacheHandler
        PerlModule MasonX::Resolver::PAR
        <Location /myapp>
          SetHandler perl-script
          PerlSetVar MasonParStaticDirectoryIndex index.htm
          PerlAddVar MasonParStaticnDirectoryIndex index.html
          PerlSetVar MasonParFile ##PARFILE##
          PerlSetVar MasonResolverClass MasonX::Resolver::PAR
          PerlHandler HTML::Mason::ApacheHandler
        </Location>

DESCRIPTION

This is a custom Mason Resolver which loads it's content from a PAR archive. This is meant to be used in conjunction with Apache::PAR. Read the description for this module first. The web.conf above should be inside the par archive as specified by Apache::PAR. It will be appended to your apache conf.

Parameters

MasonParStaticDirectoryIndex

allows us to emulate mod_dir. It defaults to qw(index.html index.htm).

MasonParFile *required*

should point to the par file we are reading from. Apache::PAR provides the ##PARFILE## functionality. note that this can also be passed to the ApacheHandler constructor as par_file.

MasonParFilesPath

Where in the par archive to read mason components from. Defaults to 'htdocs/', ApacheHandler constructor parameter is par_files_path.

SEE ALSO

PAR, Apache::PAR, HTML::Mason::Resolver

1 POD Error

The following errors were encountered while parsing the POD:

Around line 184:

You forgot a '=back' before '=head1'