Apache::Include - Utilities for mod_perl/mod_include integration






Short Cuts



The Apache Software Foundation



Sister Sites



Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet


The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes


mod_perl Pocket Reference

mod_perl Pocket Reference

By Andrew Ford


Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern


Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams


mod_perl2 User's Guide

mod_perl2 User's Guide

By Stas Bekman, Jim Brandt



Table of Contents

Synopsis

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


TOP

Description

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



TOP

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";


TOP

See Also

perl, mod_perl, mod_include



TOP

Maintainers

Maintainer is the person(s) you should contact with updates, corrections and patches.



TOP

Authors

  • Doug MacEachern

Only the major authors are listed above. For contributors see the Changes file.






TOP
previous page: Apache::Util - Interface to Apache C util functions page up: mod_perl 1.0 API next page: Apache::Registry - Run unaltered CGI scrips under mod_perl

Last modified Sat Feb 15 17:38:38 2014

Changes file

Have comments? Please send them to the modperl users mailing list.

Use of the Camel for Perl is a trademark of O'Reilly & Associates, and is used by permission.



AltStyle によって変換されたページ (->オリジナル) /