Please consider the latest edition.
-
Chapter 1 Installation
-
Installing from Red Hat Linux's Packages
-
Installing Apache on Windows
-
Downloading the Apache Sources
-
Building Apache from the Sources
-
Installing with ApacheToolbox
-
Starting, Stopping, and Restarting Apache
-
Uninstalling Apache
-
-
Chapter 2 Adding Common Modules
-
Installing a Generic Third-Party Module
-
Installing mod_dav on a Unixish System
-
Installing mod_dav on Windows
-
Installing mod_perl on a Unixish System
-
Installing mod_php on a Unixish System
-
Installing mod_php on Windows
-
Installing the mod_snake Python Module
-
Installing mod_ssl
-
-
Chapter 3 Logging
-
Getting More Details in Your Log Entries
-
Getting More Detailed Errors
-
Logging POST Contents
-
Logging a Proxied Client's IP Address
-
Logging Client MAC Addresses
-
Logging Cookies
-
Not Logging Image Requests from Local Pages
-
Logging Requests by Day or Hour
-
Rotating Logs on the First of the Month
-
Logging Hostnames Instead of IP Addresses
-
Maintaining Separate Logs for Each Virtual Host
-
Logging Proxy Requests
-
Logging Errors for Virtual Hosts to Multiple Files
-
Logging Server IP Addresses
-
Logging the Referring Page
-
Logging the Name of the Browser Software
-
Logging Arbitrary Request Header Fields
-
Logging Arbitrary Response Header Fields
-
Logging Activity to a MySQL Database
-
Logging to syslog
-
Logging User Directories
-
-
Chapter 4 Virtual Hosts
-
Setting Up Name-Based Virtual Hosts
-
Designating One Name-Based Virtual Host as the Default
-
Setting Up Address-Based Virtual Hosts
-
Creating a Default Address-Based Virtual Host
-
Mixing Address-Based and Name-Based Virtual Hosts
-
Mass Virtual Hosting with mod_vhost_alias
-
Mass Virtual Hosting Using Rewrite Rules
-
SSL and Name-Based Virtual Hosts
-
Logging for Each Virtual Host
-
Splitting Up a LogFile
-
Port-Based Virtual Hosts
-
Displaying the Same Content on Several Addresses
-
-
Chapter 5 Aliases, Redirecting, and Rewriting
-
Showing Highlighted PHP Source Without Symlinking
-
Mapping a URL to a Directory
-
Creating a New URL for Existing Content
-
Giving Users Their Own URL
-
Aliasing Several URLs with a Single Directive
-
Mapping Several URLs to the Same CGI Directory
-
Creating a CGI Directory for Each User
-
Redirecting to Another Location
-
Redirecting Several URLs to the Same Destination
-
Permitting Case-Insensitive URLs
-
Replacing Text in Requested URLs
-
Rewriting Path Information to CGI Arguments
-
Denying Access to Unreferred Requests
-
Rewriting Based on the Query String
-
Redirecting All—or Part—of Your Server to SSL
-
Turning Directories into Hostnames
-
Redirecting All Requests to a Single Host
-
Turning Document Names into Arguments
-
-
Chapter 6 Security
-
Using System Account Information for Web Authentication
-
Setting Up Single-Use Passwords
-
Expiring Passwords
-
Limiting Upload Size
-
Restricting Images from Being Used Off-Site
-
Requiring Both Weak and Strong Authentication
-
Managing .htpasswd Files
-
Making Password Files for Digest Authentication
-
Relaxing Security in a Subdirectory
-
Lifting Restrictions Selectively
-
Authorizing Using File Ownership
-
Storing User Credentials in a MySQL Database
-
Accessing the Authenticated Username
-
Obtaining the Password Used to Authenticate
-
Preventing Brute-Force Password Attacks
-
Using Digest Versus Basic Authentication
-
Accessing Credentials Embedded in URLs
-
Securing WebDAV
-
Enabling WebDAV Without Making Files Writable by the Web User
-
Restricting Proxy Access to Certain URLs
-
Protecting Files with a Wrapper
-
Protecting All Files Except a Subset
-
Protecting Server Files from Malicious Scripts
-
Setting Correct File Permissions
-
Running a Minimal Module Set
-
Restricting Access to Files Outside Your Web Root
-
Limiting Methods by User
-
Restricting Range Requests
-
-
Chapter 7 SSL
-
Installing SSL
-
Generating SSL Certificates
-
Generating a Trusted CA
-
Serving a Portion of Your Site via SSL
-
Authenticating with Client Certificates
-
-
Chapter 8 Dynamic Content
-
Enabling a CGI Directory
-
Enabling CGI Scripts in Non-ScriptAliased Directories
-
Using Windows File Extensionsto Launch CGI Programs
-
Using Extensions to Identify CGI Scripts
-
Testing That CGI Is Set Up Correctly
-
Reading Form Parameters
-
Invoking a CGI Program for Certain Content Types
-
Getting SSIs to Work
-
Displaying Last Modified Date
-
Including a Standard Header
-
Including the Output of a CGI Program
-
Running CGI Scripts as a Different User with suexec
-
Installing a mod_perl Handler from CPAN
-
Writing a mod_perl Handler
-
Enabling PHP Script Handling
-
Verifying PHP Installation
-
-
Chapter 9 Error Handling
-
Handling a Missing Host Field
-
Changing the Response Status for CGI Scripts
-
Customized Error Messages
-
Providing Error Documents in Multiple Languages
-
Redirecting Invalid URLs to Some Other Page
-
Making Internet Explorer Display Your Error Page
-
Notification on Error Conditions
-
-
Chapter 10 Proxies
-
Securing Your Proxy Server
-
Preventing Your Proxy Server from Being Used as an Open Mail Relay
-
Forwarding Requests to Another Server
-
Blocking Proxied Requests to Certain Places
-
Proxying mod_perl Content to Another Server
-
Configuring a Caching Proxy Server
-
Filtering Proxied Content
-
Requiring Authentication for a Proxied Server
-
-
Chapter 11 Performance
-
Determining How Much Memory You Need
-
Benchmarking Apache with ab
-
Tuning Keepalive Settings
-
Getting a Snapshot of Your Site's Activity
-
Avoiding DNS Lookups
-
Optimizing Symbolic Links
-
Minimizing the Performance Impact of .htaccess Files
-
Disabling Content Negotiation
-
Optimizing Process Creation
-
Tuning Thread Creation
-
Caching Frequently Viewed Files
-
Sharing Load Between Servers Using mod_proxy
-
Distributing Load Evenly Between Several Servers
-
Caching Directory Listings
-
Speeding Up Perl CGI Programs with mod_perl
-
-
Chapter 12 Miscellaneous Topics
-
Placing Directives Properly
-
Renaming .htaccess Files
-
Generating Directory/Folder Listings
-
Solving the "Trailing Slash" Problem
-
Setting the Content-Type According to Browser Capability
-
Handling Missing Host: Header Fields
-
Alternate Default Document
-
Setting Up a Default "Favicon"
-
-
Appendix A Using Regular Expressions in Apache
-
What Directives Use Regular Expressions?
-
-
Appendix B Troubleshooting
-
Troubleshooting Methodology
-
Debugging the Configuration
-
Debugging Premature End of Script Headers
-
Common Problems on Windows
-
Fixing Build-Time Error Messages
-
Getting Server-Side Includes to Work
-
Debugging Rewrites That Result in "Not Found" Errors
-
.htaccess Files Having No Effect
-
Address Already in Use
-
-
Colophon
- Title:
- Apache Cookbook
- By:
- Ken Coar, Rich Bowen
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- November 2003
- Ebook Release:
- February 2009
- Pages:
- 256
- Print ISBN:
- 978-0-596-00191-9
- | ISBN 10:
- 0-596-00191-6
- Ebook ISBN:
- 978-0-596-10322-4
- | ISBN 10:
- 0-596-10322-0
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Apache Cookbook is a moose. The moose roams the forests of North America, Europe, and Russia. It's the largest of the deer family, and the largest moose of all, Alces alces gigas, is found throughout Alaska. This particular moose, in fact, is so ubiquitous that it's played an important role in the development of the state--though the relationship between moose and men is often adversarial.
Moose have a high reproductive potential and can quickly fill a range to capacity. And in Alaska, the removal of mature timber through logging and fire has benefited them by providing new stands of young timber--high-quality moose food. Moose get to be a pain when they eat crops, stand on airfields, wander the city streets, and collide with cars and trains.
But in general, these animals are good for the state's economy. Moose are an essential part of the Alaskan landscape, providing tourist photo opportunities when they feed along the highway. Residents and out-of-state hunters harvest 6,000 to 8,000 moose annually--approximately 3.5 million pounds of meat. The future for these animals in Alaska is reasonably bright because humans are learning how to manage moose habitat with wildlife and how to mitigate factors that affect moose populations, such as hunting and predation by wolves and bears. Sarah Sherman was the production editor and copyeditor, and Marlowe Shaeffer was the proofreader for Apache Cookbook. Matt Hutchinson and Claire Cloutier provided quality control. Julie Hawks wrote the index.
Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from The Illustrated Natural History: Mammalia. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Ed Stephenson.
