---
name: "Apache::FakeSSI"
section: "3pm"
platform: "linux"
package: "libapache-ssi-perl"
version: "2.19-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/Apache::FakeSSI"
---

# Apache::FakeSSI(3pm)

Implement Server Side Includes in Pure-Perl

## 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.
