Free Books / Computers / Practical mod_perl / books


previous page: 3.1.2. Activating Callback Hookspage up: Practical mod_perl | by Stas Bekman and Eric Choletnext page: 3.1.4. Enabling Extra Features

3.1.3. Activating Standard API Features

Search

Titles
  • Animals
  • Architecture
  • Arts
  • Computers
  • Crafts
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Society
  • Sports
  • Outdoors
  • Site Listing

Discover
  • StasoSphere
  • Science Religion
  • Health Resources
  • Find Articles
  • Travel Articles
  • mod_perl1 Book
  • mod_perl2 Book
  • FAQ Help Tutorials






















Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

The following options enable various standard features of the mod_perl API. While not absolutely needed, they're very handy and there's little penalty in including them. Unless specified otherwise, these options are all disabled by default. The EVERYTHING=1 or DYNAMIC=1 options will enable them en masse. If in doubt, include these.

PERL_FILE_API=1

Enables the Apache::File class, which helps with the handling of files under mod_perl.

PERL_TABLE_API=1

Enables the Apache::Table class, which provides tied access to the Apache Table structure (used for HTTP headers, among others).

PERL_LOG_API=1

Enables the Apache::Log class. This class allows you to access Apache's more advanced logging features.

PERL_URI_API=1

Enables the Apache::URI class, which deals with the parsing of URIs in a similar way to the Perl URI::URL module, but much faster.

PERL_UTIL_API=1

Enables the Apache::Util class, allowing you to use various functions such as HTML escaping or date parsing, but implemented in C.

PERL_CONNECTION_API=1

Enables the Apache::Connection class. This class is enabled by default. Set the option to 0 to disable it.

PERL_SERVER_API=1

Enables the Apache::Server class. This class is enabled by default. Set the option to 0 to disable it.

Please refer to Lincoln Stein and Doug MacEachern's Writing Apache Modules with Perl and C (O'Reilly) for more information about the Apache API.

 

Continue to:

  • prev: 3.1.2. Activating Callback Hooks
  • Table of Contents
  • next: 3.1.4. Enabling Extra Features

Books by Stas Bekman:

Tags

practical mod_perl, modperl, Apache, perl, cgi, html, scalability, free, open source, OSS, squid, high availability, linux, unix, web, www, webserver, admin, book, webmaster, tools, modperl guide, docs, documentation, help, script, eric cholet, stas bekman, performance, speed, choice









TOP
previous page: 3.1.2. Activating Callback Hookspage up: Practical mod_perl | by Stas Bekman and Eric Choletnext page: 3.1.4. Enabling Extra Features

© 2007 StasoSphere

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

Last modified Thu Jun 5 17:22:18 2008