After checking the error log, it seems that realm does, in fact, matter: it has to be the same as the AuthName. This should be documented somewhere.

"Doug Bell" <[email protected]> wrote in message news:[email protected]...
On Jun 7, 2009, at 7:12 AM, Stuart P. Bentley wrote:

Why is this httpd.conf code working:

<Location /repo>
  DAV svn
  SVNPath /srv/repo

  AuthType Basic
  AuthName "NONE SHALL PASS"
  AuthDigestDomain /repo
  AuthUserFile /srv/auth/svn-auth-basic-file
  #AuthUserFile /srv/auth/svn-auth-digest

  Require valid-user
  #Allow users of a certain authentication level read-only access
  AuthzSVNAccessFile /srv/auth/svn-access-file

  #WebDAV accessibility settings
  SVNAutoversioning on
  ModMimeUsePathInfo on
</Location>


What do you mean by working? What exactly is it doing correctly ( in other words, what do you want to do?)


but this isn't?

<Location /repo>
  DAV svn
  SVNPath /srv/repo

  AuthType Digest
  AuthName "NONE SHALL PASS"
  AuthDigestDomain /repo
  #AuthUserFile /srv/auth/svn-auth-basic-file
  AuthUserFile /srv/auth/svn-auth-digest

  Require valid-user
  #Allow users of a certain authentication level read-only access
  AuthzSVNAccessFile /srv/auth/svn-access-file

  #WebDAV accessibility settings
  SVNAutoversioning on
  ModMimeUsePathInfo on
</Location>

What do you mean by isn't working? What is it really doing?


Could my digest file be bad?

Did you create it using htpasswd?

Is there a rule for what to put in for realm?

No, it's just a string.

Also, what is in the error log?

Doug Bell -- Senior Developer, Plain Black Corp.
[ http://plainblack.com ]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
  "   from the digest: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
  "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to