lighttpd.conf 953 B

1234567891011121314151617181920212223242526
  1. server.modules = ("mod_fastcgi", "mod_cgi")
  2. server.document-root = "."
  3. server.errorlog = var.CWD + "/lighttpd.errors"
  4. server.port = 9203
  5. server.bind = "127.0.0.1"
  6. server.event-handler = "select"
  7. cgi.assign = ("/test" => "",
  8. # ".ru" => ""
  9. )
  10. fastcgi.server = (
  11. "test.fcgi" => ("localhost" =>
  12. ("min-procs" => 1,
  13. "socket" => "/tmp/rack-test-fcgi",
  14. "bin-path" => "test.fcgi")),
  15. "test.ru" => ("localhost" =>
  16. ("min-procs" => 1,
  17. "socket" => "/tmp/rack-test-ru-fcgi",
  18. "bin-path" => CWD + "/rackup_stub.rb test.ru")),
  19. "sample_rackup.ru" => ("localhost" =>
  20. ("min-procs" => 1,
  21. "socket" => "/tmp/rack-test-rackup-fcgi",
  22. "bin-path" => CWD + "/rackup_stub.rb sample_rackup.ru")),
  23. )