9 messages in ru.sysoev.nginxRe: Setting up HTTP Basic Authorisation
FromSent OnAttachments
T GillettDec 6, 2006 3:02 am 
Igor SysoevDec 6, 2006 3:15 am 
T GillettDec 6, 2006 4:11 am 
Igor SysoevDec 6, 2006 4:23 am 
T GillettDec 6, 2006 4:43 am 
Igor SysoevDec 6, 2006 5:00 am 
T GillettDec 6, 2006 5:15 am 
Igor SysoevDec 6, 2006 5:40 am 
T GillettDec 6, 2006 12:54 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Setting up HTTP Basic AuthorisationActions...
From:T Gillett (tgil@public.gmane.org)
Date:Dec 6, 2006 5:15:13 am
List:ru.sysoev.nginx

Igor Sysoev <is@...> writes:

It seems I found the bug. If the "test:cgsk91HyOZHGE" is the single line in th efile and has no the carridge return or the line feed characters (if you edit file in the joe editor), then nginx does not understand the hash.

Igor This doesn't appear to be the problem in this case.

The htpassword file actually has two lines as follows: admin:cgwvsHpJSf6XU test:cgsk91HyOZHGE

followed by two empty lines (carriage returns). I copied the admin line from etc/passwd and checked the password encryption with the perl script. Authorisation fails for both admin and test logins. Terry