Writing Apache Modules with Perl and C
The Apache API and mod_perl
Publisher: O'Reilly Media
Final Release Date: April 1999
Pages: 750

Apache 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:

  • Rewriting CGI scripts as Apache modules to vastly improve performance
  • Server-side filtering of HTML documents, to embed special markup or code (much like SSI)
  • Enhancing server log functionality
  • Converting file formats on the fly
  • Implementing dynamic navigation bars
  • Incorporating database access into CGI scripts
  • Customizing access control and authorization to block robots or to use an external database for passwords

The authors are Lincoln Stein and Doug MacEachern. Lincoln is the successful author of How to Set Up and Maintain a World Wide web Site and the developer of the widely used Perl CGI.pm module. Doug is a consultant and the creator of the innovative mod_perl Apache module.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyWriting Apache Modules with Perl and C
 
4.0

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 3 customers

Sort by

Displaying reviews 1-3

Back to top

(5 of 5 customers found this review helpful)

 
4.0

wishing for an update

By Adam Buecher

from Undisclosed

Comments about oreilly Writing Apache Modules with Perl and C:

A great intro to writing apache modules. It can help as a refresher as well for those of us who occaisionally have to delve back into the inner workings of our existing modules.

My only complaint is it was written for apache 1.3 and is now obsolete. If it was updated for apache 2 then its a must buy for people who work with apache modules or just tinkering around wondering what all the fuss is about.

 
3.0

Writing Apache Modules with Perl and C Review

By Anonymous

from Undisclosed

Comments about oreilly Writing Apache Modules with Perl and C:

Nice book.

It takes the time and effort to de-mistify many troublesome spots. It integrates details from different scripting and system languages to give a very well rounded overview of state of the art. It covers

a miriad of topics, all of which add to the value of the book.

michael at favourite links.com

 
5.0

Writing Apache Modules with Perl and C Review

By Matthew Amster-Burton

from Undisclosed

Comments about oreilly Writing Apache Modules with Perl and C:

_Writing Apache Modules_ is quintessential O'Reilly. They have taken an arcane but potentially useful topic and produced a readable, entertaining, complete, and authoritative guide to it. The book's 700 pages are nearly 3/4 tutorial, which walks you through the writing of dozens of Apache modules, mostly in Perl. (C is covered in less detail, but it's all there.) You'll learn how to write modules for every Apache request stage. The Perl code is technically excellent and well-formatted, and they don't shy away from using useful CPAN modules. Database examples use the free and popular MySQL. No matter what kind of Apache module you're thinking about writing, this book will surely have an example that will get you started, and the reference section will keep you going. I have read literally dozens of O'Reilly books, and this is among the very best they've ever done.

Displaying reviews 1-3

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Print: $44.99