Apache: The Definitive Guide / Edition 3

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (40) from $1.99   
  • New (10) from $28.05   
  • Used (30) from $1.99   


Apache is far and away the most widely used web server platform in the world. This versatile server runs more than half of the world's existing web sites. Apache is both free and rock-solid, running more than 21 million web sites ranging from huge e-commerce operations to corporate intranets and smaller hobby sites.With this new third edition of Apache: The Definitive Guide, web administrators new to Apache will come up to speed quickly, and experienced administrators will find the logically organized, concise reference sections indispensable, and system programmers interested in customizing their servers will rely on the chapters on the API and Apache modules.Updated to cover the changes in Apache's latest release, 2.0, as well as Apache 1.3, this useful guide discusses how to obtain, set up, secure, modify, and troubleshoot the Apache software on both Unix and Windows systems. Dozens of clearly written examples provide the answers to the real-world issues that Apache administrators face everyday. In addition to covering the installation and configuration of mod_perl and Tomcat, the book examines PHP, Cocoon, and other new technologies that are associated with the Apache web server. Additional coverage of security and the Apache 2.0 API make Apache: The Definitive Guide, Third Edition essential documentation for the world's most popular web server.

This complete guide to the Apache Web server discusses how to obtain, set up, and secure the software on both Unix and Windows systems.

Read More Show Less

Product Details

  • ISBN-13: 9780596002039
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 11/2/2002
  • Edition description: Third Edition
  • Edition number: 3
  • Pages: 590
  • Sales rank: 578,228
  • Product dimensions: 7.00 (w) x 9.19 (h) x 1.30 (d)

Meet the Author

Ben Laurie is the coauthor of Apache: The Definitive Guide, Technical Director of A.L. Digital Ltd. and The Bunker, a director of the Apache Software Foundation, author of Apache-SSL and a core team member of OpenSSL. As well as his obvious involvement with free software, he's also obsessed with security and privacy, particularly on the net. In his copious spare time, he writes stuff, sometimes code, sometimes words.

Coauthor of Apache: The Definitive Guide, 3nd Edition

Read More Show Less

Table of Contents

Who Wrote Apache, and Why?;
The Demonstration Code;
Conventions Used in This Book;
Organization of This Book;
Chapter 1: Getting Started;
1.1 What Does a Web Server Do?;
1.2 How Apache Works;
1.3 Apache and Networking;
1.4 How HTTP Clients Work;
1.5 What Happens at the Server End?;
1.6 Planning the Apache Installation;
1.7 Windows?;
1.8 Which Apache?;
1.9 Installing Apache;
1.10 Building Apache 1.3.X Under Unix;
1.11 New Features in Apache v2;
1.12 Making and Installing Apache v2 Under Unix;
1.13 Apache Under Windows;
Chapter 2: Configuring Apache: The First Steps;
2.1 What's Behind an Apache Web Site?;
2.2 site.toddle;
2.3 Setting Up a Unix Server;
2.4 Setting Up a Win32 Server;
2.5 Directives;
2.6 Shared Objects;
Chapter 3: Toward a Real Web Site;
3.1 More and Better Web Sites: site.simple;
3.2 Butterthlies, Inc., Gets Going;
3.3 Block Directives;
3.4 Other Directives;
3.5 HTTP Response Headers;
3.6 Restarts;
3.7 .htaccess;
3.8 CERN Metafiles;
3.9 Expirations;
Chapter 4: Virtual Hosts;
4.1 Two Sites and Apache;
4.2 Virtual Hosts;
4.3 Two Copies of Apache;
4.4 Dynamically Configured Virtual Hosting;
Chapter 5: Authentication;
5.1 Authentication Protocol;
5.2 Authentication Directives;
5.3 Passwords Under Unix;
5.4 Passwords Under Win32;
5.5 Passwords over the Web;
5.6 From the Client's Point of View;
5.7 CGI Scripts;
5.8 Variations on a Theme;
5.9 Order, Allow, and Deny;
5.10 DBM Files on Unix;
5.11 Digest Authentication;
5.12 Anonymous Access;
5.13 Experiments;
5.14 Automatic User Information;
5.15 Using .htaccess Files;
5.16 Overrides;
Chapter 6: Content Description and Modification;
6.1 MIME Types;
6.2 Content Negotiation;
6.3 Language Negotiation;
6.4 Type Maps;
6.5 Browsers and HTTP 1.1;
6.6 Filters;
Chapter 7: Indexing;
7.1 Making Better Indexes in Apache;
7.2 Making Our Own Indexes;
7.3 Imagemaps;
7.4 Image Map Directives;
Chapter 8: Redirection;
8.1 Alias;
8.2 Rewrite;
8.3 Speling;
Chapter 9: Proxying;
9.1 Security;
9.2 Proxy Directives;
9.3 Apparent Bug;
9.4 Performance;
9.5 Setup;
Chapter 10: Logging;
10.1 Logging by Script and Database;
10.2 Apache's Logging Facilities;
10.3 Configuration Logging;
10.4 Status;
Chapter 11: Security;
11.1 Internal and External Users;
11.2 Binary Signatures, Virtual Cash;
11.3 Certificates;
11.4 Firewalls;
11.5 Legal Issues;
11.6 Secure Sockets Layer (SSL);
11.7 Apache's Security Precautions;
11.8 SSL Directives;
11.9 Cipher Suites;
11.10 Security in Real Life;
11.11 Future Directions;
Chapter 12: Running a Big Web Site;
12.1 Machine Setup;
12.2 Server Security;
12.3 Managing a Big Site;
12.4 Supporting Software;
12.5 Scalability;
12.6 Load Balancing;
Chapter 13: Building Applications;
13.1 Web Sites as Applications;
13.2 Providing Application Logic;
13.3 XML, XSLT, and Web Applications;
Chapter 14: Server-Side Includes;
14.1 File Size;
14.2 File Modification Time;
14.3 Includes;
14.4 Execute CGI;
14.5 Echo;
14.6 Apache v2: SSI Filters;
Chapter 15: PHP;
15.1 Installing PHP;
15.2 Site.php;
Chapter 16: CGI and Perl;
16.1 The World of CGI;
16.2 Telling Apache About the Script;
16.3 Setting Environment Variables;
16.4 Cookies;
16.5 Script Directives;
16.6 suEXEC on Unix;
16.7 Handlers;
16.8 Actions;
16.9 Browsers;
Chapter 17: mod_perl;
17.1 How mod_perl Works;
17.2 mod_perl Documentation;
17.3 Installing mod_perl — The Simple Way;
17.4 Modifying Your Scripts to Run Under mod_perl;
17.5 Global Variables;
17.6 Strict Pregame;
17.7 Loading Changes;
17.8 Opening and Closing Files;
17.9 Configuring Apache to Use mod_perl;
Chapter 18: mod_jserv and Tomcat;
18.1 mod_jserv;
18.2 Tomcat;
18.3 Connecting Tomcat to Apache;
Chapter 19: XML and Cocoon;
19.1 XML;
19.2 XML and Perl;
19.3 Cocoon;
19.4 Cocoon 1.8 and JServ;
19.5 Cocoon 2.0.3 and Tomcat;
19.6 Testing Cocoon;
Chapter 20: The Apache API;
20.1 Documentation;
20.2 APR;
20.3 Pools;
20.4 Per-Server Configuration;
20.5 Per-Directory Configuration;
20.6 Per-Request Information;
20.7 Access to Configuration and Request Information;
20.8 Hooks, Optional Hooks, and Optional Functions;
20.9 Filters, Buckets, and Bucket Brigades;
20.10 Modules;
Chapter 21: Writing Apache Modules;
21.1 Overview;
21.2 Status Codes;
21.3 The Module Structure;
21.4 A Complete Example;
21.5 General Hints;
21.6 Porting to Apache 2.0;
Appendix A: The Apache 1.x API;
A.1 Pools;
A.2 Per-Server Configuration;
A.3 Per-Directory Configuration;
A.4 Per-Request Information;
A.5 Access to Configuration and Request Information;
A.6 Functions;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted November 4, 2003

    Book Review - Apache: The Definitive Guide (3rd Ed)

    This is a fairly comprehensive, 600-page guide to the Apache web server software. The book begins with an overview of what a web server and browser clients do, how they work, and planning/installing Apache. The book covers versions 1.3.x and 2.0.x, and the differences between them. After installation, the next few chapters explain the initial configuration required to get a working webserver, including the various directives blocks, access control, and setting up virtual hosts. Chapter 5 discusses how to implement authentication, passwords, and more on access control, such as using .htaccess files. Following chapters describe how to change settings for various web filetypes, indexing, imagemaps, and redirection of web page requests. Chapters 9 and 10 explain using a proxy, and the multitude of logging and status options which can be configured. One of the longer (and important) chapters, Chapter 11, goes into excellent detail about the security aspects of running a webserver. It includes discussion and examples on signatures, certificates, using SSL, and firewalls. General security precautions, real life scenarios, and even potential legal issues are addressed. The next section goes over building and administering a large website, and the issues associated with that. Also there is a chapter on adding web applications to your site to allow flexible user interaction, such as forms submission. There are then several chapters regarding add-ons and extensions to get even more from the webserver. These include PHP, CGI, Perl, mod_perl, XML, and Cocoon. There are numerous examples of coding provided, although most of them are somewhat basic in nature. One subject that I thought should have been addressed more was integrating the webserver with a database (such as MySQL), as this is a very common requirement. The last two chapters go over the Apache Application Programming Interface (API), and how to write Modules for Apache. This may be useful to more serious developers, but is probably too technical and difficult for the average casual user. The book closes with a good Index and there is also a very handy foldout inside the back cover which contains quick-reference data for the most commonly used configurations and commands. Overall this book seems to 'cover all the bases'. It was useful to me as a beginner to set up a testing webserver, and yet has extra details and information for those more advanced webmasters. The quick reference section especially, should be very useful to experienced Apache users. I would highly recommend the book for anyone wanting to start or improve their knowledge in running the Apache webserver.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)