Alvaro Lopez Ortega <[EMAIL PROTECTED]> schrieb:
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]


[..]
=======================

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.
Yes, that worked and gave me exactly the same results. So far so good.

But if I use a browser, Firefox for example, I get the message "401 Authorization Required..." again with no popup window to enter the password. Just that error message.
But another thing is very interesting. If I enter "http://alo:[EMAIL PROTECTED]:5000/" in Firefox, it tells me that the site needs no authentication and this could be an attempt of deception. After that I get the same 401 error.


Sie denken an Ihre Sicherheit? Das tun wir auch .
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to