Edgewall Software

Changes between Version 57 and Version 58 of TracMultipleProjects


Ignore:
Timestamp:
Aug 3, 2005, 10:24:29 PM (19 years ago)
Author:
anonymous
Comment:

added another multiproject method

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjects

    v57 v58  
    5353
    5454This is Debian and Gentoo(?) specific. On SuSE you edit /etc/sysconfig/apache2 and add rewrite to APACHE_MODULES. Depending on your SuSE version you have to run "SuSEconfig --module apache2" or just "rcapache2 restart"
     55
     56== The wimp way for multiple projects ==
     57For those of using simply the cgi solution, the trac.cgi can be copied/symlinked to other directories
     58
     59{{{
     60<Location "/cgi-bin/project1/trac.cgi">
     61        SetEnv TRAC_ENV "/home/trac/project1"
     62</Location>
     63
     64<Location "/cgi-bin/project2/trac.cgi">
     65        SetEnv TRAC_ENV "/home/trac/project2"
     66</Location>
     67}}}
     68
     69The same works also for the authentication:
     70{{{
     71<Location "/cgi-bin/project1/trac.cgi/login">
     72AuthType Basic
     73AuthName "Project1"
     74AuthUserFile /home/web/.access-files/trac.project1.htpasswd
     75Require valid-user
     76</Location>
     77
     78<Location "/cgi-bin/project2/trac.cgi/login">
     79AuthType Basic
     80AuthName "Project2"
     81AuthUserFile /home/web/.access-files/trac.project2.htpasswd
     82Require valid-user
     83</Location>
     84}}}
    5585
    5686== Global authentication ==