Book Review: Apache Cookbook
The Apache Cookbook is clearly written. Material that I found particularly well written are the Troubleshooting section (which was put in Appendix B instead of receiving a chapter of its own, for some reason) and Chapter 11, "Performance". Both brought together in one place some advice I'd seen in various locations and some tips I didn't know. Other people may particularly appreciate Chapter 5, "Aliases, Redirecting, and Rewriting", which has 18 recipes for mangling and massaging URLs into shape, and Chapter 6, "Security", which has 28 recipes.
In a few recipes, the authors answer a question with "It's not possible." One example is the question, "Can you log users by their MAC address?" This sort of answer is to be commended, as many authors prefer not to share bad news even to frequently asked questions.
The length of the book is appropriate for general browsing and skimming. The recipes are generally short enough to allow you to skim a chapter in an hour or under, which is good.
As for the bad, cross-referencing between recipes is not as good as I would like. Many recipes have See Also sections, but they sometimes seem to miss natural comparisons that would be useful for the skimming reader. For example, Recipe 5.13, "Denying Access to Unreferred Requests," uses mod_rewrite, while recipe 6.5, "Restricting Images from Being Used Off-Site," uses FilesMatch and SetEnv as well as mod_rewrite to accomplish the same thing. Each has a unique See Also section that does not refer to the other. Similarly, recipe 9.1, "Handling a Missing Host Field" and recipe 12.6, "Handling Missing Host Header Fields" don't refer to each other.
In a few situations, concepts could have been explained earlier or with more detail. Chapter 11 describes how to use different MPMs without defining MPM or explaining that Apache 2.0 provides different swappable models for handling threads and processes. Recipe 6.20 talks about proxy security without introducing proxies or mentioning that they are the topic of Chapter 10. These are minor complaints, but they make the book less effortless to use in its paper version.
On the whole, the Apache Cookbook is a good addition to the Apache administrator or programmer's library. For the $29.95 US cover price, the paper copy is a reasonable investment. It also is available on Safari if you don't want a paper copy. Considering the cross-referencing difficulties, that format might be easier to use.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Server Hardening
- The Death of RoboVM
- EnterpriseDB's EDB Postgres Advanced Server and EDB Postgres Enterprise Manager
- BitTorrent Inc.'s Sync
- The Humble Hacker?
- The US Government and Open-Source Software
- Open-Source Project Secretly Funded by CIA
- ACI Worldwide's UP Retail Payments
- New Container Image Standard Promises More Portable Apps
- AdaCore's SPARK Pro
In modern computer systems, privacy and security are mandatory. However, connections from the outside over public networks automatically imply risks. One easily available solution to avoid eavesdroppers’ attempts is SSH. But, its wide adoption during the past 21 years has made it a target for attackers, so hardening your system properly is a must.
Additionally, in highly regulated markets, you must comply with specific operational requirements, proving that you conform to standards and even that you have included new mandatory authentication methods, such as two-factor authentication. In this ebook, I discuss SSH and how to configure and manage it to guarantee that your network is safe, your data is secure and that you comply with relevant regulations.Get the Guide