On Fri, Mar 13, 2009 at 12:32 AM, Billy Zhu <[email protected]> wrote: > Hi all, > > > > Svn1.5.5 + apache 2.2.11 + trac0.11 > > > > I configure my AuthzSVNAccessFile in svn. > > The configuration is successful to take effect in svn. > > > > And I try to make relevant configuration in trac. > > > > When a authorized user log on trac and click on “Browse Source” menu. > > > > He still can view all folder and files of my svn repository. > > > > And it is failed to take effect in trac. > > > > The following is configuration items in httpd.conf: > > ========== > > <Location /projects/semi> > > DAV svn > > SVNPath D:/Repositories/svn/semi > > SVNListParentPath on > > AuthType Basic > > AuthName "Subversion Repository" > > AuthUserFile "D:/Repositories/project-users.db" > > AuthzSVNAccessFile "D:/Repositories/svn-users.conf" > > Require valid-user > > </Location> > > > > <Location /trac/semi> > > SetHandler mod_python > > PythonInterpreter main_interpreter > > PythonHandler trac.web.modpython_frontend > > PythonOption TracEnv D:/Repositories/trac/semi > > PythonOption TracUriRoot /trac/semi > > SVNPath D:/Repositories/svn/semi > > AuthzSVNAccessFile "D:/Repositories/svn-users.conf" > > </Location> > > > > <location /trac/semi/login> > > AuthType Basic > > AuthName "Infosys" > > AuthUserFile "D:/Repositories/project-users.db" > > AuthzSVNAccessFile "D:/Repositories/svn-users.conf" > > Require valid-user > > </location> > > > > <LocationMatch "/trac/[^/]+/login"> > > AuthType Basic > > AuthName "Infosys" > > AuthUserFile "D:/Repositories/project-users.db" > > AuthzSVNAccessFile "D:/Repositories/svn-users.conf" > > Require valid-user > > </LocationMatch> > > ========= > > > > How to limit a authorized user to browser part of sources on trac? > > > > Thanks in advance! > > Billy
Set the path to your authz file in your trac.ini. Check the TracIni wiki page in Trac's docs to find the exact section/option. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
