BUY THIS BOOK
Add to Cart

Print Book $29.95


Add to Cart

Print+PDF $38.94

Add to Cart

PDF $23.99

Safari Books Online

What is this?

Add to UK Cart

Print Book £20.95

What is this?

Looking to Reprint or License this content?

Apache Cookbook

By Ken Coar, Rich Bowen
November 2003
Pages: 254
Series: Cookbooks
ISBN 10: 0-596-00191-6 | ISBN 13: 9780596001919
starstarstarstarstar (Average of 1 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Description

The Apache Cookbook is a collection of problems, solutions, and practical examples for webmasters, web administrators, programmers, and everyone else who works with Apache. 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.
Full Description

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.



Featured customer reviews

Write a Review


Apache Cookbook Review,  March 02 2004
Rating: StarStarStarStarStar
Submitted by Crouse   [Respond | View]

Reviewer: Crouse

Website: http://www.usalug.org

The Book:

Apache Cookbook

By Ken Coar & Rich Bowen

254 pages

1st Edition November 2003

ISBN: 0-596-00191-6

Book Link: http://www.oreilly.com/catalog/apacheckbk/

This book is a must have for anyone with an understanding of the Apache Web

Server. It is basically a compilation of about 100 real life problems and the

answers dealing with the Apache Web Server. Page after page of interesting

problems and the solutions, all written in an easy to understand format.

Starting with the preface, this book is very informative, and just keeps

getting better as you read. Even those not very familiar with the Apache Web

Server, would be able to understand most of what is written, it is explained

that well.

Alot of ground is covered in these 254 pages. Everything from installing Apache

from source, to more advanced topics, like "Sharing Load Between Servers using

mod_proxy". While it isn't meant to be read cover to cover, and is more

a "reference" for making the Apache Web Server do what you want it to do, it is

a very easy to read book. If you want alot of knowledge of Apache, in a concise

package, this book provides it in abundance. One of the few "reference" type

books that I can actually read cover to cover, even though it's not really meant

to be.

The book doesn't just cater to those running their own web servers. Many of

the applications listed in the book can be very useful to those webmasters stuck

in private directories on someone else's server. This is because of the

wonderful properties of the .htaccess file. Many of the scenarios listed in the

book can be applied by using the .htaccess file. So if your a webmaster, this

book is useful for you too, if you have a web host that use's Apache. You don't

even have to be a Linux nut like me.

What's in the book? Well the chapter titles say alot.

  • Chapter 1. Installation

  • Chapter 2. Adding Common Modules

  • Chapter 3. Logging

  • Chapter 4. Virtual Hosts

  • Chapter 5. Aliases, Redirecting, and Rewriting

  • Chapter 6. Security

  • Chapter 7. SSL

  • Chapter 8. Dynamic Content

  • Chapter 9. Error Handling

  • Chapter 10. Proxies

  • Chapter 11. Performance

  • Chapter 12. Miscellaneous Topics

    The appendix's could very well have been just two more chapters. They have an

    abundance of information themselves.

  • Appendix A. Using regular expressions

  • Appendix B. Troubleshooting

    I believe Chapter 6, alone, is worth the price of this entire book. This was by

    far and away the most interesting section of this book for me. Maybe because

    security is job #1 when running a web server. This chapter covers alot of

    ground and answers alot of questions when it comes to security. This is the one

    section that I wish the author had alloted even more space to. Even so, this

    particular section of the book was extremely informative.



    6. Security

    6.1 Using System Account Information for Web Authentication

    6.2 Setting Up Single-Use Passwords

    6.3 Expiring Passwords

    6.4 Limiting Upload Size

    6.5 Restricting Images from Being Used Off-Site

    6.6 Requiring Both Weak and Strong Authentication

    6.7 Managing .htpasswd Files

    6.8 Making Password Files for Digest Authentication

    6.9 Relaxing Security in a Subdirectory

    6.10 Lifting Restrictions Selectively

    6.11 Authorizing Using File Ownership

    6.12 Storing User Credentials in a MySQL Database

    6.13 Accessing the Authenticated Username

    6.14 Obtaining the Password Used to Authenticate

    6.15 Preventing Brute-Force Password Attacks

    6.16 Using Digest Versus Basic Authentication

    6.17 Accessing Credentials Embedded in URLs

    6.18 Securing WebDAV

    6.19 Enabling WebDAV Without Making Files Writable by the Web User

    6.20 Restricting Proxy Access to Certain URLs

    6.21 Protecting Files with a Wrapper

    6.22 Protecting All Files Except a Subset

    6.23 Protecting Server Files from Malicious Scripts

    6.24 Setting Correct File Permissions

    6.25 Running a Minimal Module Set

    6.26 Restricting Access to Files Outside Your Web Root

    6.27 Limiting Methods by User

    6.28 Restricting Range Requests


    Ever want to know how to do any of the above? It's in there. A complete listing

    of the Table of Contents is located here :

    http://www.oreilly.com/catalog/apacheckbk/toc.html So if you use Apache, and

    aren't an Apache guru,or even if you are, this book is a must have. I know I

    won't be parting with my copy any time soon.

    This book gets the maximum 5/5 bigrins


  • Read all reviews


    Media reviews "The Apache Cookbook covers almost all aspects and all parts of the learning curve for Apache...I've gone over several of the recipes and their excellent explanatory text to shed some light on previously dark corners of Apache, particularly as the authors cover both Apache 1.3 and 2.0."
    Rating: 8/10
    --Tony Williams, Slashdot, January 2004
    http://slashdot.org/article.pl?sid=04/01/15/1738227

    "If you use Apache, and aren't an Apache guru, or even if you are, this book is a must-have. I know I won't be parting with my copy any time soon. This book gets the maximum 5/5 bigrins"
    --Dave Crouse, USA Linux Users Group, March 2004
    http://www.usalug.org/phpBB2/viewtopic.php?t=2047

    "An excellent quick-start, launch-pad-style guide for performing a plethora of common Apache administrative tasks... As an Apache admin myself, I anticipate consulting its pages on a regular basis in the foreseeable future. Overall Rating: 8/10"
    --The Brain Shed, February 2004
    http://brainshed.com/reviews/ora_apache_cookbook.html

    Read all reviews

    See larger cover