O’Reilly Writing Apache Modules with Perl and C

 

O’Reilly Writing Apache Modules with Perl and C

O'Reilly Writing Apache Modules with Perl and C

O’Reilly Writing Apache Modules with Perl and C

About Book:

Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

Lincoln Stein
Doug MacEachern
Publisher: O’Reilly

Table of content:

  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

Description:

Apache is the most famous web server on the Internet since it is free, solid, and extensible. The accessibility of the source code and the particular configuration of Apache makes it conceivable to amplify web server usefulness through the Apache API.For the most part, nonetheless, the Apache API has just been accessible to C software engineers, and requires revamping the Apache server from source. mod_perl, the well known Apache module utilized basically for upgraded CGI execution, transformed all that by making the Apache API accessible to Perl software engineers. With mod_perl, it gets to be easy to create Apache modules with Perl and introduce them without rebuilding the web server.Writing Apache Modules with Perl and C demonstrates to amplify web server capacities paying little respect to whether the programming dialect is Perl or C. The book clarifies the outline of Apache, mod_perl, and the Apache API. It then exhibits how to utilize them to perform for errands like the accompanying:

Changing CGI scripts as Apache modules to unfathomably enhance execution

Server-side sifting of HTML reports, to insert exceptional markup or code (much like SSI)

Improving server log usefulness

Changing over document groups on the fly

Actualizing dynamic route bars

Fusing database access into CGI scripts

Altering access control and approval to square robots or to utilize an outer database for passwords

The creators are Lincoln Stein and Doug MacEachern. Lincoln is the fruitful creator of How to Set Up and Maintain a World Wide site and the engineer of the generally utilized Perl CGI.pm module. Doug is an expert and the maker of the inventive mod_perl Apache module.

O’Reilly Writing Apache Modules with Perl and C

O’Reilly Writing Apache Modules with Perl and C

Leave a Reply

Your email address will not be published. Required fields are marked *

*