Apache Cookbook: Solutions and Examples for Apache Administration

Front Cover
"O'Reilly Media, Inc.", Dec 21, 2007 - Computers - 310 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

Popular passages

Page 3 - All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Page 5 - Choose which program features you want installed and where they will be installed. Recommended for advanced users. < Back Next > ~| Cancel E11-5 -f > Т...
Page 4 - Version 1.3 (and up) (Apache is an HTTP server, originally designed for Unix systems. This is the version of Apache for Microsoft Windows 2000, NT, 98, and 95 systems. Like the Unix version, it includes many frequently requested new features, and has an API that allows it to be extended to meet users' needs more easily It also allows limited support for ISAPI extensions.

Bibliographic information