Cover image for Mongrel

Book description

This shortcut teaches you how to use Mongrel, the new high-performance web application container for Rails. It starts with basic setup and installation, but goes well beyond the basics, showing you how to set up Mongrel clusters, how to use Mongrel behind Apache and other web servers, and more. Mongrel has given Rails developers a first-rate server. If you've suffered through Rails apps deployed on Apache or Lighttpd with FCGI, suffer no more! Start using Mongrel, and say good-bye to FCGI and all its problems.

Table of Contents

  1. Mongrel
  2. Getting Started
    1. What is Mongrel?
    2. Why was Mongrel needed?
    3. Downloading and Installing
    4. Deciding on a Deployment Method
      1. Running Mongrel Standalone
      2. Behind TCP Balancers
      3. Behind HTTP Balancers
      4. Behind Web Servers
      5. Behind Hardware
  3. Behind Web Servers
    1. Apache
      1. Compiling and Installing Apache
      2. Apache With a Single Mongrel Instance
      3. Setting up Mongrel Cluster
      4. Using Apache 1.3 with Mongrel Cluster
      5. Using Apache 2.2 with Mongrel Cluster
      6. Using a Non-Root URI For Your Application
      7. Load Balancer Manager
    2. Litespeed
    3. Lighttpd
  4. Additional Options
    1. Command Line Options
    2. Debugging
  5. Configuration
    1. Configuration Files
    2. Mime Types
    3. Configuration Scripts
  6. Plugins
    1. Cluster Plugin
      1. Installing Mongrel Cluster
      2. Configuring and Running Mongrel Cluster
      3. Adding Mongrel Cluster as a Daemon
    2. Writing Plugins
      1. Generating the Plugin
      2. Rakefile
      3. Init File
      4. Extras
  7. Acknowledgments
  8. About the Author
  9. Copyright