こんな感じ

 server.error-handler-404 = "/r/dispatch.fcgi"
 fastcgi.server      = (
  ".fcgi" => (
  (
   "min-procs"       => 1,
   "max-procs"       => 3,
   "socket"          => "RAILS_ROOTディレクトリ/tmp/sockets/fcgi.socket",
   "bin-path"        => "RAILS_ROOTディレクトリ/public/dispatch.fcgi",
   "bin-environment" => ( "RAILS_ENV" => "production" )
  ))
 )
 
 url.rewrite              = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html")

参考: (なんかオフィシャルのちゃんとしたドキュメントが見つからない...)

Lighttpd - ApplicationsUsingLighttpd - lighty labs 
http://redmine.lighttpd.net/projects/lighttpd/wiki/ApplicationsUsingLighttpd#multiple-RubyOnRails-on-one-server

#blikifooter(志田)

tag: [[ネットワーク>tag/ネットワーク]], [[Ruby on Rails>tag/Ruby on Rails]]


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

アークウェブのサービスやソリューションはこちら