lightyでRTを動かすの法
$HTTP["host"] == "rt.unknownplace.org" { server.document-root = "/usr/local/rt3/share/html" server.errorlog = "/var/log/lighttpd/rt-error.log" accesslog.filename = "/var/log/lighttpd/rt-access.log"
setenv.add-environment = (
"SCRIPT_NAME" => "/",
)
url.rewrite-once = (
"^/(?!NoAuth/images/)(.*)" => "/rt3/$1",
)
fastcgi.server = (
"/rt3" => ((
"bin-path" => "/usr/local/rt3/bin/mason_handler.fcgi",
"socket" => "/tmp/rt.socket",
"max-procs" => 1,
"check-local" => "disable",
))
)
}
/usr/local/rt3
に入れた場合。