Password-protected dirs working but reporting unexpected errors

TinyApps.Org miles at tinyapps.org
Thu Jul 9 18:25:14 MSD 2009


Thanks so much, Igor!
I'd like to send you a donation, but do not see
a button on http://sysoev.ru/en/ or http://nginx.net/ .
Do the donations to http://wiki.nginx.org/Main really
go to you? Just want to make sure.

Yours Gratefully,

Miles


On Jul 8, 2009, at 9:58 PM, Igor Sysoev wrote:

> On Wed, Jul 08, 2009 at 09:42:05PM -1000, TinyApps.Org wrote:
>
>> I sent this out a week ago and received no reply,
>> so I am trying a second and final time to see if
>> anyone can assist:
>>
>> Password protected directories are working fine,
>> but when a legitimate user logs in, the following
>> appears in the error log:
>>
>> [error] 3876#0: *12 no user/password was provided for basic
>> authentication
>>
>> despite the fact that the username and password
>> *were* supplied, and access was granted.
>
> The HTTP Basic authentication works as following:
> *) A browser requests a page without user/password.
> *) A server response with 401 page, sending realm as well.
>   At this stage the 401 code appears in access_log and the message
>   "no user/password ..." appears in error_log.
> *) The browser shows a realm/login/password prompt.
> *) If a user will press cancel, then the browser will show the  
> received
>   401 page.
> *) If the user enters login/password, then the browser repeats the  
> request
>   with login/password.
>
> Then until you will exit the browser, it will send these login/ 
> password
> with all requests in protected hierarchy.
>
>> A bad username/password produces the expected error:
>>
>> [error] 3876#0: *12 user "whatever" was not found in "/etc/nginx/ 
>> htpass"
>>
>> Has anyone else seen this or have any idea why such
>> an error would be triggered?
>
>
> -- 
> Igor Sysoev
> http://sysoev.ru/en/
>






More information about the nginx mailing list