<?xml version="1.0" encoding="UTF-8"?>
<wiki-page>
  <author>Anonymous</author>
  <content>h2. Lighttpd configuration for a [[Retrospectiva]] FastCGI virtual host

{{{
server.modules   += ( "mod_fastcgi" )

$HTTP["host"] == "retro.yourdomain.com" {
  server.name                    = "retro.yourdomain.com"
  server.document-root           = "/var/www/retrospectiva/public"
  accesslog.filename             = "/var/www/retrospectiva/log/access.log"
  server.error-handler-404       = "/dispatch.fcgi"
  server.indexfiles              = ("dispatch.fcgi", "index.html")
  fastcgi.server                 = ( ".fcgi" =&gt; ( "retro" =&gt; (
    "min-procs" =&gt; 1,
    "max-procs" =&gt; 2,
      "bin-environment" =&gt; ( "RAILS_ENV" =&gt; "production" ),
      "socket" =&gt; "/tmp/ruby-retro-fcgi.socket",
      "bin-path" =&gt; server.document-root + "/dispatch.fcgi"
  )))
}
}}}</content>
  <created-at type="datetime">2006-12-01T16:11:38+00:00</created-at>
  <title>Lighttpd FastCGI configuration</title>
  <updated-at type="datetime">2008-01-02T17:30:38+00:00</updated-at>
  <version type="integer">3</version>
</wiki-page>
