[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Per-Directory Access Control

From: Guido Anzuoni <guido.anzuoni_at_kyneste.com>
Date: 2004-09-27 15:12:42 CEST

See comments below.

> -----Original Message-----
> From: Paul Grenyer [mailto:paul@paulgrenyer.co.uk]
> Sent: Monday, September 27, 2004 2:54 PM
> To: users@subversion.tigris.org
> Subject: Per-Directory Access Control
>
>
> Hi All
>
> I've had a look in the archives, but I can't see this problem
> there. If it
> is there please do point me in the right direction.
>
> I'm trying to implement Per-Directory Access Control as per
> the SVN book. I
> have a repository here:
>
> /home/web/svn/begin-cpp
>
> and the following entry in httpd.conf:
>
> <Location /svn>
> DAV svn
> SVNParentPath /home/web/svn
>
> AuthzSVNAccessFile /etc/svn-access
>
> Satisfy Any
> Require valid-user
>
> AuthType Basic
> AuthName "SubVersion Repository"
> AuthUserFile /etc/svn-auth
> </Location>
>
> I have the htpasswd file at:
>
> /etc/svn-auth
>
> (and I know it works, because if I set-up begin-cpp without
> AuthzSVNAccessFile, eg:
>
> <Location /svn/begin-cpp>
> DAV svn
> SVNPath /home/web/svn/begin-cpp
> AuthType Basic
> AuthName "SubVersion Repository"
> AuthUserFile /etc/svn-auth
> Require valid-user
> </Location>
>
> Everything works as expected, I am asked for a username
> (paul) and password
> and when entered I have access to the repository.)
>
> I have the AuthUserFile here:
>
> /etc/svn-auth
>
> and that looks like this:
>
> [begin-cpp:/begin-cpp]
> paul = rw
>

???? maybe this should be /etc/svn-access (i.e. the AuthzSVNAccessFile).
If begin-cpp is your repository then yourdirective should be

[begin-cpp:/]
paul = rw

> I have also tried this:
>
> [begin-cpp:/home/web/svn/begin-cpp]
> paul = rw
>
> and I have the same problem. The problem is that when I try
> and access the
> repository (via Internet Explorer) I get the username and
> password box, but
> when I enter the username and password it is not accepted and
> box comes
> back.
>
> Any suggestions?
>
> Regards
> Paul
>
> Paul Grenyer
> email: paul@paulgrenyer.co.uk
> web: http://www.paulgrenyer.co.uk
>
> PG: Contains mild violence and peril.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 27 15:13:42 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.