[Trac] Trac and Multiple Subversion Repositories

Andrew Carter andrewc at cartersoft.com
Wed Apr 21 08:23:48 UTC 2004
You need to create multiple trac databases -- one for each repository.  
Here is an example of how I setup my Apache server to work with 
multiple repositories:

     # Trac
      Alias /trac "/usr/local/share/trac/htdocs"
      Alias /project1 "/usr/local/www/cgi-bin/trac.cgi"
      Alias /project2 "/usr/local/www/cgi-bin/trac.cgi"

      # Trac - project1
      <Location /project1>
          SetEnv TRAC_ENV "/usr/local/trac/project1"
          AuthType Basic
          AuthName "Trac - Project 1"
          AuthUserFile /usr/local/etc/svn-passwd
          Require valid-user
      </Location>

      # Trac - project2
      <Location /project2>
          SetEnv TRAC_ENV "/usr/local/trac/project2"
          AuthType Basic
          AuthName "Trac - Project 2"
          AuthUserFile /usr/local/etc/svn-passwd
          Require valid-user
      </Location>


On Apr 21, 2004, at 8:07 AM, Okeno Palmer wrote:

>
> Greets all,
>
> First off, job well done on Trac so far!! I'm using it on windows with 
> IIS
> and it's working quite nicely with the exception of the Browsing due 
> to the
> bug in Subversion 1.0. I will upgrade to 1.0.2 next week and see if 
> that is
> resolved.
>
> My question today is, How can I setup Trac to work with multiple 
> Subversion
> repositories?
>
> So say I have two projects each with their own repository. I want to 
> have
> Trac functionality for both projects. How would I go about doing that?
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2854 bytes
Desc: not available
Url : /archive/trac/attachments/20040421/3d9aef2c/smime.bin