The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Apache::FakeSSI - Implement Server Side Includes in Pure-Perl

SYNOPSIS

In httpd.conf:

<Files *.phtml>  # or whatever
SetHandler perl-script
PerlHandler Apache::FakeSSI
</Files>

You must compile mod_perl with PERL_METHOD_HANDLERS=1 (or EVERYTHING=1) to use Apache::FakeSSI.

DESCRIPTION

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.

SEE ALSO

mod_include, mod_perl(3), Apache(3), Apache::SSI(3), Apache::Filter(3)

AUTHOR

Ken Williams ken@mathforum.org

COPYRIGHT

Copyright (c) 2002 Ken Williams. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.