Re: digest http authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux