2009-12-19 03:16:58 +01:00
|
|
|
server.modules = ("mod_fastcgi", "mod_cgi")
|
|
|
|
server.document-root = "."
|
2010-06-14 06:09:24 +02:00
|
|
|
server.errorlog = var.CWD + "/lighttpd.errors"
|
2009-12-19 03:16:58 +01:00
|
|
|
server.port = 9203
|
|
|
|
|
|
|
|
server.event-handler = "select"
|
|
|
|
|
|
|
|
cgi.assign = ("/test" => "",
|
|
|
|
# ".ru" => ""
|
|
|
|
)
|
|
|
|
|
2010-06-14 06:09:24 +02:00
|
|
|
fastcgi.server = (
|
|
|
|
"test.fcgi" => ("localhost" =>
|
2009-12-19 03:16:58 +01:00
|
|
|
("min-procs" => 1,
|
|
|
|
"socket" => "/tmp/rack-test-fcgi",
|
|
|
|
"bin-path" => "test.fcgi")),
|
|
|
|
"test.ru" => ("localhost" =>
|
|
|
|
("min-procs" => 1,
|
|
|
|
"socket" => "/tmp/rack-test-ru-fcgi",
|
|
|
|
"bin-path" => "test.ru")),
|
2010-06-14 06:09:24 +02:00
|
|
|
"sample_rackup.ru" => ("localhost" =>
|
|
|
|
("min-procs" => 1,
|
|
|
|
"socket" => "/tmp/rack-test-rackup-fcgi",
|
|
|
|
"bin-path" => CWD + "/rackup_stub.rb sample_rackup.ru")),
|
2009-12-19 03:16:58 +01:00
|
|
|
)
|