berVi wrote:
>> Could you please send your configuration? It is pretty likely a
>> configuration problem :-)
>
> It neither works for me, so I'm not that sure about it's a config
> problem.
>
> http://www.0x50.org/bugs/ticket/52
I have done another new test.. and it worked. These are all the
step to reproduce the test:
=======================
$ mkdir -p /tmp/test/www
$ echo "alo:password00" > /tmp/test/passwords
$ cat << EOF >/tmp/test/cherokee.conf
> Port 5000
> DocumentRoot /tmp/test/www
> Directory / {
> Handler common
> Auth Basic, Digest {
> Name "Test"
> Method plain {
> PasswdFile /tmp/test/passwords
> }
> }
> }
> EOF
$ /usr/sbin/cherokee -b -C /tmp/test/cherokee.conf
Cherokee Web Server 0.5.1: Listening on port 5000, TLS disabled
IPv6 enabled, using epoll, 1024 fds limit, 5 threads, 204 fds in each
standard scheduling policy
$ wget -O - http://localhost:5000/
--17:42:27-- http://localhost:5000/
=> `-'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:5000... connected.
HTTP request sent, awaiting response... 401 Authorization Required
Authorization failed.
$ wget -O - http://alo:[EMAIL PROTECTED]:5000/
--17:52:26-- http://alo:[EMAIL PROTECTED]:5000/
=> `-'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:5000... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
[..]
=======================
May it be that you are using the wrong validator? Where it says
"Method plain", it defines the validator you are using, and each one
understand a different password file format.
Rainer, berVi; is it working for you?
--
Greetings, alo.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee