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" <doug@xxxxxxxxxxxxxx> wrote in message news:424510AF-0ACC-4A39-B3F5-7D0559868CDD@xxxxxxxxxxxxxx ...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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx---------------------------------------------------------------------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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx