Edgewall Software

Changes between Version 5 and Version 6 of TracMultipleProjectsSVNAccess


Ignore:
Timestamp:
Mar 19, 2006, 5:14:55 AM (18 years ago)
Author:
ole+trac@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjectsSVNAccess

    v5 v6  
    7070
    7171This 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. 
     72
     73There is one more workaround, based on RewriteRule:
     74 * Add a RewriteRule in your httpd.conf (if tracs is your trac root directory):
     75{{{
     76RewriteEngine on
     77RewriteRule ^/trac$ /trac/TracIndex [PT]
     78RewriteRule ^/trac/$ /trac/TracIndex [PT]
     79}}}
     80 * Add this to your authz file
     81{{{
     82[TracIndex:/]
     83* = r
     84}}}
     85
     86You still need valid login & password to access listing but there is no need to worry about "default read access" described above.