Quoting Joshua Gordon <[email protected]>:
> I have almost 100 SVN repos I would like a Trac instance for every repo
> without setting up 100 apache instances. Is there a recommended way to
> do this? Is anyone doing this already?

I have half a dozen trac instances with one SVN each, but only one Apache
instance with mod_wsgi. I have one "Directory" and two "Location" entries
per trac/SVN pair, all in one host file:

WSGIDaemonProcess project1 user=www-data group=www-data threads=25
WSGIScriptAlias /project1 /var/lib/trac/project1/apache/site.wsgi
<Directory /var/lib/trac/project1/apache>
    WSGIProcessGroup project1
    WSGIApplicationGroup %{GLOBAL}
    Order ...
</Directory>
<Location /project1/login>
    AuthType Basic
    AuthName "project1"
    AuthUserFile /var/lib/trac/project1/.htpasswd
    Require valid-user
    Order ...
</Location>
<Location /svn/project1>
    DAV svn
    SVNPath /var/lib/subversion/project1
    AuthName "svn-project1"
    AuthType Basic
    AuthUserFile /var/lib/trac/project1/.htpasswd
    Require valid-user
    Order ...
</Location>

Same repeats here with s/project1/project2/ etc. and so on.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to