httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart P. Bentley" <stu...@testtrack4.com>
Subject [users@httpd] Re: Digest authentication not working on default Apache installation on Slackware 12.1
Date Mon, 08 Jun 2009 19:59:44 GMT
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" <doug@plainblack.com> wrote in message 
news:424510AF-0ACC-4A39-B3F5-7D0559868CDD@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-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message