Practical mod_perl / HTML Book / books


previous page: B.18.4. Apache::Icon—Look Up Icon Imagespage up: HTML Version of the booknext page: B.18.6. Apache::Language—Perl Transparent Language Support for Apache Modules and mod_perl Scripts

B.18.5. Apache::Include—Utilities for mod_perl/mod_include Integration


Search







modperlbook.org


 HTML Book


 PDF Book


 Download Code


 Table of Contents


 Errata


 mod_perl2 User's Guide


 Sitemap





Add to Google



Creative Commons License


Written by
Eric Cholet (Logilune)
and Stas Bekman (StasoSphere).

Hosted by ibiblio.org.



The Apache::Include module provides a handler, making it simple to include Apache::Registryscripts with the mod_include Perl directive.

Apache::Registryscripts can also be used in mod_include-parsed documents using a virtual include.

The virtual( ) method may be called to include the output of a given URI in your Perl scripts. For 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";

The output of the perl CGI script located at /perl/env.pl will be inserted between the "before include" and "after include" strings and printed to the client.

Supplied with the mod_perl distribution. See the module manpage for more information.

 

Continue to:

  • prev: B.18.4. Apache::Icon—Look Up Icon Images
  • Table of Contents
  • next: B.18.6. Apache::Language—Perl Transparent Language Support for Apache Modules and mod_perl Scripts

Tags

mod_perl, modperl, Apache, perl, cgi, html, mod_perl, e-commerce, scalability, free, open source, OSS, apache, squid, high availability, modperl, linux, unix, Web, www, mod_perl, webserver, admin, apache, book, webmaster, tools, modperl, guide, docs, documentation, help, mod_perl, perl, information, apache, script, errata, eric cholet, perl, apache, mod-perl, stas bekman, mod_perl, cool, perl, Apache, performance, speed, choice




Other projects to check out: meta-religion.com is for those interested in Religious, Spiritual and Esoteric Phenomena. i-want-a-better.com is a community of people discussing what they would like to be improved in their lives and things they use and interact with. You may also want to find a healer in your area or read articles on variety of topics.






TOP
previous page: B.18.4. Apache::Icon—Look Up Icon Imagespage up: HTML Version of the booknext page: B.18.6. Apache::Language—Perl Transparent Language Support for Apache Modules and mod_perl Scripts

© 2007 StasoSphere

[ Privacy Policy ] [ Terms of Use ] [ About Authors ] [ Search ]

Last modified Tue Feb 24 12:55:02 2009