Writing Apache Modules with Perl and C shows how to extend the capabilities of the Apache web server. It explains the design of Apache, mod_perl, and the Apache API, then demonstrates how to use them for:
- 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
Lincoln Stein 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 MacEachern is a consultant and the creator of the innovative mod_perl Apache module.