Apache Cookbook

Front Cover
"O'Reilly Media, Inc.", Nov 18, 2003 - 256 pages

Apache is far and away the most widely used web server platform in the world. Both free and rock-solid, it runs more than half of the world's web sites, ranging from huge e-commerce operations to corporate intranets and smaller hobby sites, and it continues to maintain its popularity, drawing new users all the time. If you work with Apache on a regular basis, you have plenty of documentation on installing and configuring your server, but where do you go for help with the day-to-day stuff, like adding common modules or fine-tuning your activity logging?The Apache Cookbook is 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 recipes in the Apache Cookbook 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. The two hundred plus recipes in the book cover additional topics such as:

  • Security
  • Aliases, Redirecting, and Rewriting
  • CGI Scripts, the suexec Wrapper, and other dynamic content techniques
  • Error Handling
  • SSL
  • Performance
The impressive collection of useful code in this book is a guaranteed timesaver for all Apache users, from novices to advanced practitioners. Instead of poking around mailing lists, online documentation, and other sources, you can rely on the Apache Cookbook for quick solutions to common problems, and then you can spend your time and energy where it matters most.
 

Contents

Installation
1
Adding Common Modules
19
Logging
32
Virtual Hosts
58
Aliases Redirecting and Rewriting
72
Security
91
SSL
130
Dynamic Content
140
Error Handling
162
Proxies
170
Performance
178
Miscellaneous Topics
200
Using Regular Expressions in Apache
211
Troubleshooting
215
Index
225

Other editions - View all

Common terms and phrases

Popular passages

Page 2 - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Page 2 - 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 - Wizard Ready to Install the Program The wizard is ready to begin installation. Click Install to begin the installation. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.
Page 3 - 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