This is the way I have set up the error logging.
Is this correct for debug log as you have asked?
Yes, the configuration is correct, however, nginx was not built with
debug logging. You should rebuild it using
./configure --with-debug ...
I loaded nginx as a package from the Unslung ipkg feed, so I didn't actually
build it. I don't have a cross development environment for the NSLU2 so doing a
build is a bit of a problem at the moment.
If the htpasswd file is OK, and the nginx.conf file is OK, is there anything
else that needs to be set up for the http basic authorisation to work?
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.