httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giwrgos <giwr...@ece.ntua.gr>
Subject [users@httpd] digest http authentication
Date Mon, 02 Apr 2007 14:49:40 GMT
Hi.
I am confronting with the followng problem.(Apache 2.2.4 Win32)
I am trying to use the digest method (instead of the basic one which
worked just fine).
What I have done is the following.
1)httpd.conf -> enabled the mod for the digest method.
2)httpd.conf -> AllowOverride All
3).htaccess contains the following lines
    AuthType      Digest
AuthName     "testing"
AuthDigestDomain / http://192.168.178.22/
AuthDigestProvider file
AuthUserFile      C:\giwrgos   
Require        root
4)With htdigest -c i have created the password file and placed it at
root of c:

When I try to access the page, i enter username/password but no good.
The error log is reporting:

[Mon Apr 02 17:27:09 2007] [error] [client 192.168.178.22] access to /
failed, reason: require directives present and no Authoritative handler.
[Mon Apr 02 17:27:11 2007] [error] [client 192.168.178.22] Digest:
invalid nonce 42d22042f3548 received - length is not 52

The second message (...invalid nonce...) is not always present but the
first one is there for every login attempt.
What am i doing wrong?



---------------------------------------------------------------------
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