Project

General

Profile

Actions

HowToSetupTrac » History » Revision 1

Revision 1/18 | Next »
dg, 2005-05-23 20:23
Moved from old wiki


= How to setup trac with Lighttpd =

[http://www.edgewall.com/trac/ Trac] is an enhanced wiki and issue tracking system for software development projects.

lighttpd.net is using it as its bug-tracking system and web-frontend for [http://subversion.tigris.org/ subversion].

Common setup using CGI

Take a look at the [wiki:TracInstall updated Trac setup documentation]

Seperated setup

The webserver at lighttpd.net is living in a chroot which seperates the webserver-root from the rest of the system and the subversion repositories.

As trac requires physical access it couldn't be installed in the [wiki:TracInstall well documented way].

trac provides a seperated tracd which is started locally at port 9090:

{{{
$ tracd -b 127.0.0.1 -p 9090 /path/to/trac/lighttpd/
}}}

To forward all requests from the webserver to trac the [http://www.lighttpd.net/documentation/proxy.html proxy module] is used:

{{{
$HTTP["host"] == "trac.lighttpd.net" { # forward all requests at trac.lighttpd.net to the tracd
proxy.server = ("" => ( "trac" => ( "host" => "127.0.0.1", "port" => 9090 )))
}
}}}

Updated by dg over 19 years ago · 18 revisions