Apache Cookbook, Second Edition

There should be an image here!One facet of the Apache Web server that makes it such a remarkable piece of software is that it includes extensibility by design. That is, if the Apache package doesn’t do just what you want right out of the box, you can generally extend it so that it does. Dozens of extensions are included as part of the package distributed by the Apache Software Foundation. “If one of those doesn’t meet your needs,” advise Ken Coar and Rich Bowen, authors of the Apache Cookbook, Second Edition, “with several million users out there, there is an excellent chance that someone else has already done your work for you, someone who has concocted a recipe of changes or enhancements to the server that will satisfy your requirements.”

The Apache Cookbook is a collection of these recipes drawn from the fire hose of the Usenet newsgroups, the ApacheFAQ, Apache-related mailing lists, emailed how-to questions, problems and answers posed on IRC channels, and volunteered submissions. They all come from real-life situations, encountered either by Coar and Bowen or others who have come to them for help. Topics range from basic compilation of the source code to complex problems involving the treatment of URLs that require SSL encryption, including the following:

  • Installing the most common third-party modules
  • Recording visits to your Web site(s), and using Apache’s error logging mechanism
  • Running multiple Web sites using a single Apache server and set of configuration files
  • Manipulating URLs — controlling the files to which they refer, changing them from one thing to another, and making them point to other Web sites
  • Securing Apache against penetration and exposure
  • Making Apache handle secure transactions with SSL-capable browsers — a must for handling sensitive data such as money transfers or medical records
  • Enhancing Apache with runtime scripts and making them operate as a particular user
  • Customizing Apache’s error messages to give your site its own unique flavor
  • Configuring Apache to act as a proxy between users and Web pages
  • Addressing performance bottlenecks and improving Apache’s overall function
Article Written by