Edgewall Software

Version 1 (modified by anonymous, 19 years ago) ( diff )

feel free to contact me: kontakt <at> meitzner <dot> net

tracd with Mandriva Linux 10.2 LE 2005

As stated in TracInstallPlatforms, trac can be installed by simply acquiring the needed packages via urpmi. Trac is then being installed as the Standalone Version (though it took installing apache2 to see anything in the Browser - just installing, nothing else). It can then be configured via the /etc/sysconfig/tracd config file.

To get multiple projects running all using authentication, your tracd-file would have too look like this:

# see http://projects.edgewall.com/trac/wiki/TracStandalone
#
# PORT : port to be used by tracd ( option -p )
PORT=8080

# AUTH : file to use for authentication
# format :  project,digestfile,realm
AUTH="project1,/path/to/project1.htdigest,project1 --auth project2,/path/to/project2.htdigest,project2 --auth project3,/path/to/project3.htdigest,project"

# PROJECT : list of project to serve, you can place more than one project.
# PROJECT="/path/to/project1 /path/to/project2"
PROJECT="/var/trac/project/project1 /var/trac/project/project2 /var/trac/project/project3 "

Note: according to the Trac Mailing-List tracd must be invoked with "first all the —auth options, then (after all options) the list of environments". It took al little fiddling around to get the AUTH-String in the config file to play with tracd.

BTW: Yes, it is possible to reuse the same htdigest file, e.g. using 'common' for the realm:

AUTH="project1,/var/trac/common.htdigest,common --auth project2,/var/trac/common.htdigest,common --auth project3,/var/trac/common.htdigest,common"

Remember to service tracd restart your Trac-Server, this must run without errors (of course!).

Note: See TracWiki for help on using the wiki.