You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Václav Krpec <va...@alsoft.cz> on 2004/03/31 15:39:12 UTC
SVNParentPath and AuthzSVNAccessFile
Hi,
glad to see that this was implemented in 1.0.1, but I'm having
some problems with that. Ok, I include this:
<Location /svn>
DAV svn
SVNParentPath D:/tests/svn/
AuthType Basic
AuthName "foo"
AuthUserFile D:/tests/svn/users.passwd
Require valid-user
AuthzSVNAccessFile D:/tests/svn/users.access
</Location>
into httpd.conf; where users.access looks like this:
[/vencik]
vencik = rw
[/lopucha/]
lopucha = rw
[/]
qaz = rw
and have repositories:
D:\tests\svn\vencik
D:\tests\svn\lopucha
D:\tests\svn\qaz
No user have access to any repository, except of qaz, which has
(correctly) access to everything.
After attempting to check-out rep. "vencik" apache error.log
shows this message:
[Wed Mar 31 17:37:05 2004] [error] [client 192.168.35.91] Access denied: 'vencik' PROPFIND vencik:/
Passwords are ok, I've tried with the AuthzSVNAccessFile directive
commented-out.
Well, what should I write into the access file? Is tere any
difference in using it with SVNParentPath, than with SVNPath?
I've tried a few forms of the rep. names --- like
[/svn/vencik] or [vencik/]... All the same.
Thanks a lot, regards
--
vencík <ve...@razdva.cz>
<va...@alsoft.cz>
http://www.razdva.cz/vencik/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re[2]: SVNParentPath and AuthzSVNAccessFile
Posted by Václav Krpec <va...@alsoft.cz>.
BCS> On Wed, 2004-03-31 at 09:39, Václav Krpec wrote:
>> [/vencik]
>> vencik = rw
>>
>> [/lopucha/]
>> lopucha = rw
>>
>> [/]
>> qaz = rw
>>
>>
>> and have repositories:
>>
>> D:\tests\svn\vencik
>> D:\tests\svn\lopucha
>> D:\tests\svn\qaz
BCS> Take a look at chapter 6 in the book again. You need to specify both
BCS> repositories and paths in the square brackets, like:
Ok, sorry, I had an old version of the book, thanks a lot...
BCS> [vencik:/some/path]
BCS> [lopucha:/another/path]
BCS> ---------------------------------------------------------------------
BCS> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
BCS> For additional commands, e-mail: users-help@subversion.tigris.org
--
vencík <ve...@razdva.cz>
<va...@alsoft.cz>
http://www.razdva.cz/vencik/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: SVNParentPath and AuthzSVNAccessFile
Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-03-31 at 09:39, Václav Krpec wrote:
> [/vencik]
> vencik = rw
>
> [/lopucha/]
> lopucha = rw
>
> [/]
> qaz = rw
>
>
> and have repositories:
>
> D:\tests\svn\vencik
> D:\tests\svn\lopucha
> D:\tests\svn\qaz
Take a look at chapter 6 in the book again. You need to specify both
repositories and paths in the square brackets, like:
[vencik:/some/path]
[lopucha:/another/path]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org