to clarify, the first row always works, with any user/pass (as long as the realm is secret) and subsequent rows always fail.
> Thanks, working now (had some funniness with renamed parent dirs). The > test passes. > > I'm experiencing very strange behavior, is anyone else using this in > production? > > Here is a sample htdigest file which fails for me: > > username:secret:a8ad42ccc303c13f633db4eaedd83d8a > testuser:secret:f24f76261bcd65780b33edde00855897 > joseph:secret:768e8ff9c37726c781b76b3ce05855f1 > > (passwords are itissecret,testpassword, and joseph) > > If the realm is "secret", the first row works, none of the others do. > > If the realm is changed to something else (such as "realm") in the > conf and in the file, all rows fail. > > I'm too tired to write a test that will fail tonight, but I will try > to get back to it tomorrow. > > Also, I noticed qa/help.py is missing from all the release tarballs. > Is this on purpose? > > Cheers, > Eric > > > On Tue, Oct 7, 2008 at 12:51 AM, Alvaro Lopez Ortega > <[EMAIL PROTECTED]> wrote: >> Hello Eric, >> >> Executing ./run-tests.py is enough to run the whole set. >> >> You can also provide a list of tests as run-test.py arguments, so you can >> just run the htdigest related and skip the rest. It'd be: ./run-tests.py >> 100-Digest-htdigest.py >> >> Cheers, >> >> On 07-oct-08, at 09:35, Eric Drechsel wrote: >>> >>> I still haven't nabbed this one. Plain auth works. I notice there is a >>> unit test for htdigest. How can I run the test suite? >>> >>> On Mon, Oct 6, 2008 at 8:34 PM, Eric Drechsel <[EMAIL PROTECTED]> wrote: >>>> >>>> I can't seem to get digest auth working (for trac, but that's not >>>> important) >>>> >>>> This is my auth setting: >>>> >>>> vserver!20!rule!600!auth = htdigest >>>> vserver!20!rule!600!auth!methods = basic,digest >>>> vserver!20!rule!600!auth!passwdfile = /etc/lighttpd/users.passwd >>>> vserver!20!rule!600!auth!realm = trac >>>> >>>> (ignore that other server on the third line :) ) >>>> >>>> And the file looks like: >>>> uname:trac:md5hashofpassword >>>> ... >>>> >>>> I always get 401 error. Any ideas? >>>> >>> _______________________________________________ >>> Cherokee mailing list >>> [email protected] >>> http://lists.octality.com/listinfo/cherokee >> >> -- >> Octality >> http://www.octality.com/ >> >> > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
