Home Page Icon
Home Page
Table of Contents for
M
Close
M
by Lincoln Stein, Doug MacEachern
Writing Apache Modules with Perl and C
Copyright
Preface
What You Need to Know to Get the Most out of This Book
How This Book Is Organized
Conventions
The Companion Web Site to This Book
Using FTP and CPAN
Comments and Questions
Acknowledgments
Server-Side Programming with Apache
Web Programming Then and Now
The Apache Project
The Apache C and Perl APIs
Ideas and Success Stories
A First Module
Preliminaries
Directory Layout Structure
Installing mod_perl
"Hello World" with the Perl API
"Hello World" with the C API
Instant Modules with Apache::Registry
Troubleshooting Modules
The Apache Module Architecture and API
How Apache Works
The Apache Life Cycle
The Handler API
Perl API Classes and Data Structures
Content Handlers
Content Handlers as File Processors
Virtual Documents
Redirection
Processing Input
Apache::Registry
Handling Errors
Chaining Content Handlers
Method Handlers
Maintaining State
Choosing the Right Technique
Maintaining State in Hidden Fields
Maintaining State with Cookies
Protecting Client-Side Information
Storing State at the Server Side
Storing State Information in SQL Databases
Other Server-Side Techniques
Authentication and Authorization
Access Control, Authentication, and Authorization
Access Control with mod_perl
Authentication Handlers
Authorization Handlers
Cookie-Based Access Control
Authentication with the Secure Sockets Layer
Other Request Phases
The Child Initialization and Exit Phases
The Post Read Request Phase
The URI Translation Phase
The Header Parser Phase
Customizing the Type Checking Phase
Customizing the Fixup Phase
The Logging Phase
Registered Cleanups
Handling Proxy Requests
Perl Server-Side Includes
Subclassing the Apache Class
Customizing the Apache Configuration Process
Simple Configuration with the PerlSetVar Directive
The Apache Configuration Directive API
Configuring Apache with Perl
Documenting Configuration Files
Perl API Reference Guide
The Apache Request Object
Other Core Perl API Classes
Configuration Classes
The Apache::File Class
Special Global Variables, Subroutines, and Literals
C API Reference Guide, Part I
Which Header Files to Use?
Major Data Structures
Memory Management and Resource Pools
The Array API
The Table API
Processing Requests
Server Core Routines
C API Reference Guide, Part II
Implementing Configuration Directives in C
Customizing the Configuration Process
String and URI Manipulation
File and Directory Management
Time and Date Functions
Message Digest Algorithm Functions
User and Group ID Information Routines
Data Mutex Locking
Launching Subprocesses
Standard Noncore Modules
The Apache::Registry Class
The Apache::PerlRun Class
The Apache::RegistryLoader Class
The Apache::Resource Class
The Apache::PerlSections Class
The Apache::ReadConfig Class
The Apache::StatINC Class
The Apache::Include Class
The Apache::Status Class
Building and Installing mod_perl
Standard Installation
Other Configuration Methods
Building Multifule C API Modules
Statistically Linked Modules That Need External Libraries
Dynamically Linked Modules That Need External Libraries
Building Modules from Several Source Files
Apache:: Modules Available on CPAN
Content Handling
URI Translation
Perl and HTML Mixing
Authentication and Authorization
Fixup
Logging
Profiling
Persistent Database Connections
Apache::DBI
Apache::Mysql
Apache::Sybase::CTlib
Miscellaneous
A
A
A
A
A
Third-Party C Modules
Content Handling
International Language
Security
Access Control
Authentication and Authorization
Logging
Distributed Authoring
Miscellaneous
M
M
M
M
M
M
M
M
L
HTML::Embperl—Embedding Perl Code in HTML
Dynamic Tables
Handling Forms
Storing Persistent Data
Modularization of Embperl Pages
Debugging
Querying a Database
Security
An Extended Example
Colophon
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
M
Next
Next Chapter
M
M
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset