我的 lighttpd.conf 中有以下配置:
$HTTP["host"] == "trac.domain.tld" {
server.document-root = "/usr/home/daniels/trac/htdocs/"
fastcgi.server = ( "/trac" =>
( "trac" =>
( "socket" => "/tmp/trac-fastcgi.sock",
"bin-path" => "/usr/home/daniels/trac/cgi-bin/trac.fcgi",
"check-local" => "disable",
"bin-environment" =>
( "TRAC_ENV" => "/usr/home/daniels/trac" )
)
)
)
}
它在 trac.domain.tld/trac 运行。我怎样才能让它在 trac.domain.tld/ 上运行,所以我将拥有 trac.domain.tld/wiki、trac.domain.tld/timeline 等,而不是 trac.domain.tld/trac/wiki 等。 .