Giwrgos wrote:
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 fileAuthUserFile C:\giwrgos Require root4)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?
One problem is the use of a backslash in AuthUserFile. Apache directives use forward-slash, even on Windows. It should be: AuthUserFile C:/giwrgos -tom- --------------------------------------------------------------------- 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