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

Per-Directory Access Control

From: Paul Grenyer <paul_at_paulgrenyer.co.uk>
Date: 2004-09-27 14:54:25 CEST

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

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
Received on Mon Sep 27 14:55:51 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.