Apache::PassHtml - print out the html file
In the conf/access.conf file of your Apache installation add lines
<Files *.html> SetHandler perl-script PerlHandler Apache::OutputChain Apache::MakeCapital Apache::PassHtml </Files>
This is simple script to show the use of module Apache::OutputChain. It will pick up a html file and send it to the output, STDOUT. We assume that the output is tied either to Apache (by default), or some user-defined perl handler. We need to read and write to STDOUT in perl since Apache will not pass its output into perl handlers.
(c) 1997--1998 Jan Pazdziora
To install Apache::OutputChain, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::OutputChain
CPAN shell
perl -MCPAN -e shell install Apache::OutputChain
For more information on module installation, please visit the detailed CPAN module installation guide.