Rainer Sokoll wrote:
> On Thu, Oct 12, 2006 at 12:03:38PM +0200, Jehan PROCACCIA wrote:
>
>   
>> of course, I did
>> $ /etc/init.d/httpd restart
>>     
>
> Please triple check the values of AuthzSVNAccessFile in your webserver's
> config against the value of authz_file in trac.ini. They must match.
> Also, you may enable debugging in your trac-env.
>
> Rainer
>
> >
>   
I have in apache:
<Location /repos>
   DAV svn
   SVNParentPath /var/www/svnweb/repos
   AuthzSVNAccessFile /var/www/svnweb/repos/conf/authz

in trac.ini
[trac]
authz_file = /var/www/svnweb/repos/conf/authz

however, I must recall from my first mail that I "build" the trac 
environement like this

I issued
$ trac-admin /usr/local/tracdb/s2ia initenv
Project Name [My Project]> s2ia
Database connection string [sqlite:db/trac.db]>
Repository type [svn]>
Path to repository [/path/to/repos]> /var/www/svnweb/repos/s2ia
Templates directory [/usr/share/trac/templates]>

I had to specify one of my repos (/var/www/svnweb/repos/s2ia) because I 
couldn't do it a the root of all repos (/var/www/svnweb/repos/) :-( -> 
trac-admin said that there's no repo at that path ...
Anyway, svnserve.conf file fore repo s2ia, do contain a reference to the 
unique authz file for all my repos:
[EMAIL PROTECTED] /var/www/svnweb/repos/s2ia/conf]
$ grep authz svnserve.conf
authz-db = /var/www/svnweb/repos/conf/authz

Is it possible that the problem comes from the fact that I point to an 
authz file which is outsite the s2ia repos on which I build trac 
environement ?
Can I build a trac environement at the root of all my repos 
(/var/www/svnweb/repos/) so that there only one trac config for all of 
them ?
Thanks.

PS: my central authz file works fine with authz_svn_module and svnview !


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to