On Jun 8, 2009, at 2:59 PM, Stuart P. Bentley wrote:

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.


Ah, yes. AuthName in the apache config is also known as "Realm" to the HTTP protocol. The docs for AuthName say: "This directive sets the name of the authorization realm for a directory."

"Doug Bell" <d...@plainblack.com> wrote in message news:424510af-0acc-4a39-b3f5-7d0559868...@plainblack.com ...
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: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to