Apache::Include(3pm)

Apache::Include3pm

Utilities for mod_perl/mod_include integration

Usage

 <!--#perl sub="Apache::Include" arg="/perl/ssi.pl" -->

Overview

The Apache::Include module provides a handler, making it simple to include Apache::Registry scripts with the mod_include perl directive.

Apache::Registry scripts can also be used in mod_include parsed documents using 'virtual include'.

Methods

Apache::Include->virtual($uri)

The "virtual" method may be called to include the output of a given uri in your Perl scripts. Example:

 use Apache::Include ();
 print "Content-type: text/html\n\n";
 print "before include\n";
 my $uri = "/perl/env.pl";
 Apache::Include->virtual($uri);
 print "after include\n";

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 2.2
  3. 3.0
  4. 3.1
  5. 4.0

Author

Doug MacEachern

From libapache-mod-perl 1.29.0.4-4.1+etch1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.