Example vhost of a typo install under lighttpd
$HTTP["host"] =~ "typo.jasonhoffman.org" {
server.document-root = "/home/jah/apps/typo/trunk/public/"
server.error-handler-404 = "/dispatch.fcgi"
server.indexfiles = ( "dispatch.fcgi")
server.errorlog = "/home/jah/logs/error.typo.log"
fastcgi.server = ( ".fcgi" =>
( "localhost" =>
( "socket" => "/home/jah/tmp/typo-jah.socket",
"min-procs" => 2,
"max-procs" => 2,
"bin-path" => "/home/jah/apps/typo/trunk/public/dispatch.fcgi",
"bin-environment" => ( "RAILS_ENV" => "production" )
)))
}