search for books and compare prices
Tables of Contents for Writing Apache Modules With Perl and C
Chapter/Section Title
Page #
Page Count
Preface
ix
 
1. Server-Side Programming with Apache
1
16
Web Programming Then and Now
2
7
The Apache Project
9
3
The Apache C and Perl APIs
12
2
Ideas and Success Stories
14
3
2. A First Module
17
34
Preliminaries
17
2
Directory Layout Structure
19
3
Installing mod_perl
22
6
"Hello World" with the Perl API
28
4
"Hello World" with the C API
32
9
Instant Modules with Apache:: Registry
41
4
Troubleshooting Modules
45
6
3. The Apache Module Architecture and API
51
34
How Apache Works
51
5
The Apache Life Cycle
56
8
The Handler API
64
16
Perl API Classes and Data Structures
80
5
4. Content Handlers
85
111
Content Handlers as File Processors
85
37
Virtual Documents
122
1
Redirection
123
7
Processing Input
130
13
Apache:: Registry
143
21
Handling Errors
164
11
Chaining Contents Handlers
175
14
Method Handlers
189
7
5. Maintaining State
196
65
Choosing the Right Technique
196
2
Maintaining State in Hidden Fields
198
10
Maintaining State with Cookies
208
5
Protecting Client-Side Information
213
8
Storing State at the Server Side
221
9
Storing State Information in SQL Databases
230
28
Other Server-Side Techniques
258
3
6. Authentication and Authorization
261
69
Access Control, Authentication, and Authorization
261
7
Access Control with mod_perl
268
14
Authentication Handlers
282
11
Authorization Handlers
293
11
Cookie-Based Access Control
304
18
Authentication with the Secure Sockets Layer
322
8
7. Other Request Phases
330
56
The Child Initialization and Exit Phases
330
2
The Post Read Request Phase
332
1
The URI Translation Phase
333
10
The Header Parser Phase
343
10
Customizing the Type Checking Phase
353
5
Customizing the Fixup Phase
358
2
The Logging Phase
360
7
Registered Cleanups
367
1
Handling Proxy Requests
368
13
Perl Server-Side Includes
381
3
Subclassing the Apache Class
384
2
8. Customizing the Apache Configuration Process
386
43
Simple Configuration with the PerlSetVar Directive
386
1
The Apache Configuration Directive API
387
28
Configuring Apache with Perl
415
12
Documenting Configuration Files
427
2
9. Perl API Reference Guide
429
76
The Apache Request Object
429
38
Other Core Perl API Classes
467
19
Configuration Classes
486
3
The Apache:: File Class
489
8
Special Global Variables, Subroutines, and Literals
497
8
10. C API Reference Guide, Part I
505
65
Which Header Files to Use?
506
1
Major Data Structures
506
21
Memory Management and Resource Pools
527
3
The Array API
530
3
The Table API
533
5
Processing Requests
538
16
Server Core Routines
554
16
11. C API Reference Guide, Part II
570
63
Implementing Configuration Directives in C
570
22
Customizing the Configuration Process
592
6
String and URI Manipulation
598
14
File and Directory Management
612
5
Time and Date Functions
617
2
Message Digest Algorithm Functions
619
2
User and Group ID Information Routines
621
1
Data Mutex Locking
621
1
Launching Subprocesses
622
11
A. Standard Noncore Modules
633
11
B. Building and Installing mod_perl
644
8
C. Building Multifile C API Modules
652
8
D. Apache:: Modules Available on CPAN
660
14
E. Third-Party C Modules
674
13
F. HTML:: Embperl--Embedding Perl Code in HTML
687
16
Index
703