Writing Apache Modules with Perl and C: The Apache API and Mod_perlApache is the most popular web server on the Internet because it is free, reliable, and extensible. The availability of the source code and the modular design of Apache makes it possible to extend web server functionality through the Apache API. For the most part, however, the Apache API has only been available to C programmers, and requires rebuilding the Apache server from source. mod_perl, the popular Apache module used primarily for enhanced CGI performance, changed all that by making the Apache API available to Perl programmers. With mod_perl, it becomes simple to develop Apache modules with Perl and install them without having to rebuild the web server. Writing Apache Modules with Perl and C shows how to extend web server capabilities regardless of whether the programming language is Perl or C. The book explains the design of Apache, mod_perl, and the Apache API. It then demonstrates how to use them to perform for tasks like the following:
|
Contents
II | 1 |
IV | 2 |
V | 9 |
VI | 12 |
VII | 14 |
VIII | 17 |
X | 19 |
XI | 22 |
XLIX | 343 |
L | 353 |
LI | 358 |
LII | 360 |
LIII | 367 |
LIV | 368 |
LV | 384 |
LVI | 386 |
XII | 28 |
XIII | 32 |
XIV | 41 |
XV | 45 |
XVI | 51 |
XVII | 56 |
XVIII | 64 |
XIX | 80 |
XX | 85 |
XXII | 122 |
XXIII | 123 |
XXIV | 130 |
XXV | 143 |
XXVI | 164 |
XXVII | 175 |
XXVIII | 189 |
XXIX | 196 |
XXXII | 198 |
XXXIII | 208 |
XXXIV | 213 |
XXXV | 221 |
XXXVI | 230 |
XXXVII | 258 |
XXXVIII | 261 |
XL | 268 |
XLI | 282 |
XLII | 293 |
XLIII | 304 |
XLIV | 322 |
XLV | 330 |
XLVII | 332 |
XLVIII | 333 |
Other editions - View all
Writing Apache Modules with Perl and C: The Apache API and mod_perl Doug MacEachern,Lincoln Stein No preview available - 1999 |
Common terms and phrases
Apache API Apache modules Apache::Constants qw Apache::File Apache::Registry Apache's argument array authentication browser cached callback CGI scripts CGI.pm Chapter checksum client configuration directives configuration file const char contains content handler cookie CPAN create database debugging default document Embperl environment variable error example FastCGI fetch field filehandle filename function guess guestbook GZip handle hangman hangman game hash header file hostname htaccess httpd implements install invoke Location Makefile MIME type mod_perl mysql NULL options package parsing pass password path per-directory Perl API Perl module PerlHandler PerlSetVar phase pointer pool proxy r->filename redirect request object request_rec retrieve return DECLINED return OK routine server server-side include session ID SetHandler startup status code string sub handler subrequest subroutine TAKE1 tion Unix unless user's username variable void web server