Edgewall Software

Changes between Version 4 and Version 5 of TracMultipleProjectsSVNAccess


Ignore:
Timestamp:
Mar 6, 2006, 9:00:44 PM (18 years ago)
Author:
greger@…
Comment:

Added info on hack to show list of tracs

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjectsSVNAccess

    v4 v5  
    5555== A Problem ==
    5656Using the setup as descibed above has one drawback.  You lose access to the default listing of Trac projects that was returned if you accessed the base Trac url with no project name. There may be a work around for this but I haven't yet found it.
     57
     58Ok, here's the workaround (really around...):
     59 * Add this to your authz file
     60{{{
     61[/]
     62* = r
     63}}}
     64 * Add a redirect in your httpd.conf (if tracs is your trac root directory):
     65{{{
     66RedirectMatch ^/tracs/$ /tracs/none
     67RedirectMatch ^/tracs$ /tracs/none
     68}}}
     69'''Note!''' Doing this will add default read access to everybody!! You should take care to add {{{ * = }}} to all repositories/tracs where you don't want regular read access.
     70
     71This works because the authz mechanism will try to match anything '''after''' the defined SVNPath. [/] matches this and read access is allowed. 'none' is sent to trac.cgi and it cannot find a trac with that name and will show the list of tracs.