Ken Coar and Rich Bowen's "Apache Cookbook" is described in O'Reilly's
press release as "...a collection of problems, solutions, and practical
examples for Webmasters, Web administrators, programmers and everyone
else who works with Apache. For every problem addressed in the book,
there's a worked-out solution or `recipe' -- short, focused pieces of
code that you can use immediately. But this book offers more than
cut-and-paste code. You also get explanations of how and why the code
works, so you can adapt the problem-solving techniques to similar
situations."
The contents of the "Apache Cookbook" range from simple to complex,
from such basic tasks as installing the server on Red Hat Linux or
Windows to far more complex tasks such as creating name-based virtual
hosts or securing and managing a proxy server. Among the more than 200
recipes includes are:
- Security
- Aliases, Redirecting and Rewriting
- CGI Scripts, the suexec Wrapper and other dynamic content techniques
- Error Handling
- SSL
- Performance
According to the authors, "If the Apache package right out of the box
does not do what you want, you can generally extend it so that it does.
If the extensions, or modules, included in the package distribution
don't meet your needs, there's an excellent chance that someone among
the millions of users in the world has concocted a `recipe' of changes
or enhancements that'll meet your requirements."
Users of this handy collection will save countless hours they might
have spent poring through mailing lists and online documentation by
simply turning to "Apache Cookbook" for the code they need.
The Table of Contents follows:
Preface
- 1. Installation
- 2. Adding Common Modules
- 3. Logging
- 4. Virtual Hosts
- 5. Aliases, Redirecting and Rewriting
- 6. Security
- 7. SSL
- 8. Dynamic Content
- 9. Error Handling
- 10. Proxies
- 11. Performance
- 12. Miscellaneous Topics
- Appendix A. Using Regular Expressions in Apache
- Appendix B. Troubleshooting
The book contains configuration examples on such topics as:
- Redirecting and rewriting URLs
- Denying access to unreferred requests
- Running CGI scripts as the file's owner
- Logging errors and accesses in more detail
- Maintaining separate logs for each virtual host and rotating them monthly
- Determining how much memory your server needs
- Optimizing symbolic links and process creation
- Forwarding requests to another server
- Protecting server files from malicious scripts
http://www.oreilly.com/catalog/apacheckbk
Read More ...
[...read more...]