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

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

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.

allows us to emulate mod_dir. It defaults to qw(index.html index.htm).
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.
Where in the par archive to read mason components from. Defaults to 'htdocs/', ApacheHandler constructor parameter is par_files_path.
