Setting up HTTP Basic Authorisation

T Gillett tgillett1 at powerup.com.au
Wed Dec 6 15:43:55 MSK 2006


Igor Sysoev <is at ...> writes:


> >>
> >> Could you make a debug log ?
> >>
> >> Igor Sysoev
> >> http://sysoev.ru/en/
> >>
> >>
> >
> >
> > Hi Igor
> > Thanks for the response.
> >
> > Running the perl crypt gives:
> > # perl -le 'print crypt("test", "cg")'
> > cgsk91HyOZHGE
> >
> >
> > 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 ...
> 
> 
> 
Igor
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?

thanks
Terry







More information about the nginx mailing list