[users@httpd] [Digest Authentication Fail] Apache Http Server V2.2

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

 



Hi,
 
I try to configure "digest authentication" function with both Apache Http Server 2.2(and 2.0.55), all failed. Could anybody have such experience and let me know the reason.
 
Step 1. Download and install Apache HTTP Server 2.2 version
Step 2. Compile mod_auth_digest.so, by input  "/usr/local/apache/bin/apxs -i -a -c mod_auth_digest.c"
Step 3. Then update httpd.conf as following
LoadModule auth_digest_module modules/mod_auth_digest.so
<Directory "/usr/local/apache/htdocs/secd">
   AllowOverride All
</Directory>
 
Step 4. Make a new directory named as /usr/local/apache/htdocs/secd,
create .htaccess as belows:
"
AuthType Digest
AuthName "Digest Test"
AuthUserFile /usr/local/apache/passwd/digest_passwords
Require valid-user
"
Step 5. Create digest_passwords file by "./htdigest /usr/local/apache/passwd/digest_passwords /usr/local/apache/htdocs/secd 123"
 
Last, I use IE6.0/Firefox1.5.0.1 to access "http://my_http_server/secd", then it popup a dialog to let me input username and password. But the problem is here, even I carefully input the correct username and password, it continue to popup the dialog, until three times fail.
 
The error_log shows:[Tue Mar 14 03:54:33 2006] [error] [client 172.21.41.5] Digest: user `123' in realm `/usr/local/apache/passwd/digest_passwords' not found: /secd/
 
Does anybody know what's wrong I am?
 
 
Thanks in advance!
 
Regards
Ouyang
 

[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