Books & Videos

Table of Contents

  1. Chapter 1 Server-Side Programming with Apache

    1. Web Programming Then and Now

    2. The Apache Project

    3. The Apache C and Perl APIs

    4. Ideas and Success Stories

  2. Chapter 2 A First Module

    1. Preliminaries

    2. Directory Layout Structure

    3. Installing mod_perl

    4. “Hello World” with the Perl API

    5. “Hello World” with the C API

    6. Instant Modules with Apache::Registry

    7. Troubleshooting Modules

  3. Chapter 3 The Apache Module Architecture and API

    1. How Apache Works

    2. The Apache Life Cycle

    3. The Handler API

    4. Perl API Classes and Data Structures

  4. Chapter 4 Content Handlers

    1. Content Handlers as File Processors

    2. Virtual Documents

    3. Redirection

    4. Processing Input

    5. Apache::Registry

    6. Handling Errors

    7. Chaining Content Handlers

    8. Method Handlers

  5. Chapter 5 Maintaining State

    1. Choosing the Right Technique

    2. Maintaining State in Hidden Fields

    3. Maintaining State with Cookies

    4. Protecting Client-Side Information

    5. Storing State at the Server Side

    6. Storing State Information in SQL Databases

    7. Other Server-Side Techniques

  6. Chapter 6 Authentication and Authorization

    1. Access Control, Authentication, and Authorization

    2. Access Control with mod_perl

    3. Authentication Handlers

    4. Authorization Handlers

    5. Cookie-Based Access Control

    6. Authentication with the Secure Sockets Layer

  7. Chapter 7 Other Request Phases

    1. The Child Initialization and Exit Phases

    2. The Post Read Request Phase

    3. The URI Translation Phase

    4. The Header Parser Phase

    5. Customizing the Type Checking Phase

    6. Customizing the Fixup Phase

    7. The Logging Phase

    8. Registered Cleanups

    9. Handling Proxy Requests

    10. Perl Server-Side Includes

    11. Subclassing the Apache Class

  8. Chapter 8 Customizing the Apache Configuration Process

    1. Simple Configuration with the PerlSetVar Directive

    2. The Apache Configuration Directive API

    3. Configuring Apache with Perl

    4. Documenting Configuration Files

  9. Chapter 9 Perl API Reference Guide

    1. The Apache Request Object

    2. Other Core Perl API Classes

    3. Configuration Classes

    4. The Apache::File Class

    5. Special Global Variables, Subroutines, and Literals

  10. Chapter 10 C API Reference Guide, Part I

    1. Which Header Files to Use?

    2. Major Data Structures

    3. Memory Management and Resource Pools

    4. The Array API

    5. The Table API

    6. Processing Requests

    7. Server Core Routines

  11. Chapter 11 C API Reference Guide, Part II

    1. Implementing Configuration Directives in C

    2. Customizing the Configuration Process

    3. String and URI Manipulation

    4. File and Directory Management

    5. Time and Date Functions

    6. Message Digest Algorithm Functions

    7. User and Group ID Information Routines

    8. Data Mutex Locking

    9. Launching Subprocesses

  1. Appendix Standard Noncore Modules

    1. The Apache::Registry Class

    2. The Apache::PerlRun Class

    3. The Apache::RegistryLoader Class

    4. The Apache::Resource Class

    5. The Apache::PerlSections Class

    6. The Apache::ReadConfig Class

    7. The Apache::StatINC Class

    8. The Apache::Include Class

    9. The Apache::Status Class

  2. Appendix Building and Installing mod_perl

    1. Standard Installation

    2. Other Configuration Methods

  3. Appendix Building Multifule C API Modules

    1. Statistically Linked Modules That Need External Libraries

    2. Dynamically Linked Modules That Need External Libraries

    3. Building Modules from Several Source Files

  4. Appendix Apache:: Modules Available on CPAN

    1. Content Handling

    2. URI Translation

    3. Perl and HTML Mixing

    4. Authentication and Authorization

    5. Fixup

    6. Logging

    7. Profiling

    8. Persistent Database Connections

    9. Miscellaneous

  5. Appendix Third-Party C Modules

    1. Content Handling

    2. International Language

    3. Security

    4. Access Control

    5. Authentication and Authorization

    6. Logging

    7. Distributed Authoring

    8. Miscellaneous

  6. Appendix HTML::Embperl—Embedding Perl Code in HTML

    1. Dynamic Tables

    2. Handling Forms

    3. Storing Persistent Data

    4. Modularization of Embperl Pages

    5. Debugging

    6. Querying a Database

    7. Security

    8. An Extended Example

  7. Colophon