Apache Cookbook: Solutions and Examples for Apache Administration

Front Cover
"O'Reilly Media, Inc.", 2008 - Computers - 285 pages
There's plenty of documentation on installing and configuring the Apache web server, but where do you find help for the day-to-day stuff, like adding common modules or fine-tuning your activity logging? That's easy. The new edition of the Apache Cookbook offers you updated solutions to the problems you're likely to encounter with the new versions of Apache.

Written by members of the Apache Software Foundation, and thoroughly revised for Apache versions 2.0 and 2.2, recipes in this book range from simple tasks, such installing the server on Red Hat Linux or Windows, to more complex tasks, such as setting up name-based virtual hosts or securing and managing your proxy server. Altogether, you get more than 200 timesaving recipes for solving a crisis or other deadline conundrums, with topics including:
  • Security
  • Aliases, Redirecting, and Rewriting
  • CGI Scripts, the suexec Wrapper, and other dynamic content techniques
  • Error Handling
  • SSL
  • Performance
This book tackles everything from beginner problems to those faced by experienced users. For every problem addressed in the book, you will find a worked-out solution that includes short, focused pieces of code you can use immediately. You also get explanations of how and why the code works, so you can adapt the problem-solving techniques to similar situations.

Instead of poking around mailing lists, online documentation, and other sources, rely on the Apache Cookbook for quick solutions when you need them. Then you can spend your time and energy where it matters most.

 

Contents

Chapter 1 Installation
1
Chapter 2 Adding Common Modules
27
Chapter 3 Logging
43
Chapter 4 Virtual Hosts
69
Chapter 5 Aliases Redirecting and Rewriting
83
Chapter 6 Security
107
Chapter 7 SSL
153
Chapter 8 Dynamic Content
167
Chapter 10 Proxies
203
Chapter 11 Performance
215
Chapter 12 Directory Listings
237
Chapter 13 Miscellaneous Topics
253
Appendix A Using Regular Expressions in Apache
265
Appendix B Troubleshooting
271
Index
279
Copyright

Chapter 9 Error Handling
195

Other editions - View all

Common terms and phrases

Bibliographic information