Synopses & Reviews
The freeware Apache web server runs on about half of the world's existing web sites, and it is rapidly increasing in popularity. Apache: The Definitive Guide, written and reviewed by key members of the Apache Group, is the only complete guide on the market today that describes how to obtain, set up, and secure the Apache software.Apache was originally based on code and ideas found in the most popular HTTP server of the time: NCSA httpd 1.3 (early 1995). It has since evolved into a far superior system that can rival (and probably surpass) almost any other Unix-based HTTP server in terms of functionality, efficiency, and speed. The new version now includes support for Win32 systems. This new second edition of Apache: The Definitive Guide fully describes Windows support and all the other Apache 1.3 features. Contents include:
- The history of the Apache Group
- Obtaining and compiling the server
- Configuring and running Apache on Unix and Windows, including such topics as directory structures, virtual hosts, and CGI programming
- The Apache 1.3 Module API
- Apache security
- A complete list of configuration directives
With
Apache: The Definitive Guide, web administrators new to Apache can get up to speed more quickly than ever before by working through the tutorial demo. Experienced administrators and CGI programmers, and web administrators moving from Unix to Windows, will find the reference sections indispensable.
Apache: The Definitive Guide is the definitive documentation for the world's most popular web server. Includes CD-ROM with Apache manuals and demo sites discussed in the book.
Synopsis
Written and reviewed by key members of the Apache group, this guide describes how to obtain, set up, and secure the Apache software on both UNIX and Windows systems. The second edition fully describes Windows support and all the other Apache 1.3 features. The CD includes Apache sources and demo sites discussed in the book.
About 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
Table of Contents
Preface; Who Wrote Apache, and Why?; The Demonstration CD-ROM; Conventions Used in This Book; Organization of This Book; Acknowledgments; Chapter 1: Getting Started; 1.1 How Does Apache Work?; 1.2 What to Know About TCP/IP; 1.3 How Does Apache Use TCP/IP?; 1.4 What the Client Does; 1.5 What Happens at the Server End?; 1.6 Which Unix?; 1.7 Which Apache?; 1.8 Making Apache Under Unix; 1.9 Apache Under Windows; 1.10 Apache Under BS2000/OSD and AS/400; Chapter 2: Our First Web Site; 2.1 What Is a Web Site?; 2.2 Apache's Flags; 2.3 site.toddle; 2.4 Setting Up a Unix Server; 2.5 Setting Up a Win32 Server; 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 Two Sites and Apache; 3.6 Controlling Virtual Hosts on Unix; 3.7 Controlling Virtual Hosts on Win32; 3.8 Virtual Hosts; 3.9 Two Copies of Apache; 3.10 HTTP Response Headers; 3.11 Options; 3.12 Restarts; 3.13 .htaccess; 3.14 CERN Metafiles; 3.15 Expirations; Chapter 4: Common Gateway Interface (CGI); 4.1 Turning the Brochure into a Form; 4.2 Writing and Executing Scripts; 4.3 Script Directives; 4.4 Useful Scripts; 4.5 Debugging Scripts; 4.6 Setting Environment Variables; 4.7 suEXEC on Unix; 4.8 Handlers; 4.9 Actions; Chapter 5: Authentication; 5.1 Authentication Protocol; 5.2 Authentication Directives; 5.3 Passwords Under Unix; 5.4 Passwords Under Win32; 5.5 New Order Form; 5.6 Order, Allow, and Deny; 5.7 Digest Authentication; 5.8 Anonymous Access; 5.9 Experiments; 5.10 Automatic User Information; 5.11 Using .htaccess Files; 5.12 Overrides; Chapter 6: MIME, Content and Language Negotiation; 6.1 MIME Types; 6.2 Content Negotiation; 6.3 Language Negotiation; 6.4 Type Maps; 6.5 Browsers and HTTP/1.1; Chapter 7: Indexing; 7.1 Making Better Indexes in Apache; 7.2 Making Our Own Indexes; 7.3 Imagemaps; Chapter 8: Redirection; 8.1 ScriptAlias; 8.2 ScriptAliasMatch; 8.3 Alias; 8.4 AliasMatch; 8.5 UserDir; 8.6 Redirect; 8.7 RedirectMatch; 8.8 Rewrite; 8.9 Speling; Chapter 9: Proxy Server; 9.1 Proxy Directives; 9.2 Caching; 9.3 Setup; Chapter 10: Server-Side Includes; 10.1 File Size; 10.2 File Modification Time; 10.3 Includes; 10.4 Execute CGI; 10.5 Echo; 10.6 XBitHack; 10.7 XSSI; Chapter 11: What's Going On?; 11.1 AddModuleInfo; 11.2 Status; 11.3 Server Status; 11.4 Server Info; 11.5 Logging the Action; Chapter 12: Extra Modules; 12.1 Authentication; 12.2 Blocking Access; 12.3 Counters; 12.4 Faster CGI Programs; 12.5 FrontPage from Microsoft; 12.6 Languages and Internationalization; 12.7 Server-Side Scripting; 12.8 Throttling Connections; 12.9 URL Rewriting; 12.10 Miscellaneous; 12.11 MIME Magic; 12.12 DSO; Chapter 13: Security; 13.1 Internal and External Users; 13.2 Apache's Security Precautions; 13.3 Binary Signatures, Virtual Cash; 13.4 Firewalls; 13.5 Legal Issues; 13.6 Secure Sockets Layer: How to Do It; 13.7 Apache-SSL's Directives; 13.8 Cipher Suites; 13.9 SSL and CGI; Chapter 14: The Apache API; 14.1 Pools; 14.2 Per-Server Configuration; 14.3 Per-Directory Configuration; 14.4 Per-Request Information; 14.5 Access to Configuration and Request Information; 14.6 Functions; Chapter 15: Writing Apache Modules; 15.1 Overview; 15.2 Status Codes; 15.3 The Module Structure; 15.4 A Complete Example; 15.5 General Hints; Support Organizations; The echo Program; NCSA and Apache Compatibility; SSL Protocol; Handshake Protocol; Protecting Application Data; Final Notes; Sample Apache Log; Colophon;