Edgewall Software

Changes between Initial Version and Version 1 of TracOnMandriva


Ignore:
Timestamp:
Jun 17, 2005, 4:42:39 PM (19 years ago)
Author:
anonymous
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • TracOnMandriva

    v1 v1  
     1== tracd with Mandriva Linux 10.2 LE 2005 ==
     2
     3As 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.
     4
     5To get multiple projects running all using authentication, your tracd-file would have too look like this:
     6
     7{{{
     8# see http://projects.edgewall.com/trac/wiki/TracStandalone
     9#
     10# PORT : port to be used by tracd ( option -p )
     11PORT=8080
     12
     13# AUTH : file to use for authentication
     14# format :  project,digestfile,realm
     15AUTH="project1,/path/to/project1.htdigest,project1 --auth project2,/path/to/project2.htdigest,project2 --auth project3,/path/to/project3.htdigest,project"
     16
     17# PROJECT : list of project to serve, you can place more than one project.
     18# PROJECT="/path/to/project1 /path/to/project2"
     19PROJECT="/var/trac/project/project1 /var/trac/project/project2 /var/trac/project/project3 "
     20}}}
     21
     22'''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.''
     23
     24BTW: Yes, it is possible to reuse the same htdigest file, e.g. using 'common' for the realm:
     25
     26{{{
     27AUTH="project1,/var/trac/common.htdigest,common --auth project2,/var/trac/common.htdigest,common --auth project3,/var/trac/common.htdigest,common"
     28}}}
     29
     30Remember to '''service tracd restart''' your Trac-Server, this must run without errors (of course!).