Digest authentication not working: endless cycles of asking for user/pass

Posted by bcmcfc on Server Fault See other posts from Server Fault or by bcmcfc
Published on 2010-03-12T14:39:17Z Indexed on 2010/03/12 14:47 UTC
Read the original article Hit count: 471

Filed under:
|
|
|

I'm trying to setup my SVN repository for access remotely. In doing so I have some settings under Apache's dav_svn.conf file.

When navigating to hostname/svn, or using Tortoise to do the same it prompts for the user name and password as expected. However, when entering the correct user name and pass that were set in the password file linked to under AuthUserFile it just asks for the credentials again.

I think I'm probably missing something simple? The server is running Ubuntu Server 9.10. Accessing SVN remotely does currently work if the authentication lines of dav_svn.conf are commented out.

These are the contents of the dav_svn.conf file:

<Location /svn>
  DAV svn
  SVNPath /home/svn/repo
  AuthType Digest
  AuthName "Subversion Repository"
  AuthDigestDomain /svn/
  AuthUserFile /etc/svn_authfile
  Require valid-user
</Location>

© Server Fault or respective owner

Related posts about svn

Related posts about apache2