Project

General

Profile

HowToSetupTrac » History » Revision 2

Revision 1 (dg, 2005-05-23 20:23) → Revision 2/18 (Anonymous, 2005-09-07 06:14)

= 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] 

 == Separated Seperated setup == 

 The webserver at lighttpd.net is living in a chroot which separates 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 ))) 
 } 
 }}}