Apache::FakeSSI3pm
Implement server side includes in pure-perl
Usage
In httpd.conf:
<Files *.phtml> # or whateverSetHandler perl-scriptPerlHandler Apache::FakeSSI</Files>
You must compile mod_perl with PERL_METHOD_HANDLERS=1 (or EVERYTHING=1) to use Apache::FakeSSI.
Overview
Apache::FakeSSI is a subclass of Apache::SSI. The difference between the two is that Apache::SSI uses full-blown Apache subrequests to implement server-side includes, whereas Apache::FakeSSI uses pure-perl. This allows the output of Apache::FakeSSI to pass through the regular Perl STDOUT, which means it may be filtered using modules like Apache::Filter.
Please see the Apache::SSI docs for a complete explanation of its functionality, or the Apache::Filter docs for more information on filtering the output of one module through another.
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.