Apache::HTMLView - Handling compiled HTMLView-fmt's as a mod_perl module in Apache
$Revision: 0.91 $
In httpd.conf:
# HTMLView PerlSetVar name_fmtpath /var/www/fmt PerlSetVar name_DBIstr "DBI:mysql:dbname" PerlSetVar name_DBI_User "user" PerlSetVar name_DBI_Password "Password" # Load this after the vars are set PerlModule Apache::HTMLView <Location /fmt> PerlSetVar Name name SetHandler perl-script PerlHandler Apache::HTMLView </Location>
This module loads compiled fmt's from the dir name_fmtpath and runs as a mod_perl module. It also loads all actions in that dir. It is possible to have many diffrent dirs with fmt's, just have diffrent names for them: name1_fmtpath, name2_fmtpath...
This module uses Apache::DBI to cache database connections and evals fmt's and actions at startup. All to inprove speed.
For information about actions and fmt's, see DBIx::HTMLView.
To install Apache::HTMLView, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::HTMLView
CPAN shell
perl -MCPAN -e shell install Apache::HTMLView
For more information on module installation, please visit the detailed CPAN module installation guide.