basic auth

Igor Sysoev is at rambler-co.ru
Sun Jul 15 18:06:18 MSD 2007


On Sun, Jul 15, 2007 at 10:01:54AM -0400, Greg Benedict wrote:

> I had debugging enabled on the main nginx config, but not the vhost.
> Nothing was showing up in the main error log, but when I enabled it
> for the vhost, it showed the issue and I was able to correct it.
> 
> Is that normal behavior? Do I always need to specify logs for a vhost?

Yes, it's normal: by default level is "error".
If you unset all error logs in vhosts, then the log will be inherited from
the main part.

> Thanks for the help!

What was the issue ? It's not normal, that nginx returns 500 without any
messages in error log.

> Greg
> 
> 
> On 7/15/07, Igor Sysoev <is at rambler-co.ru> wrote:
> >On Sun, Jul 15, 2007 at 09:30:08AM -0400, Greg Benedict wrote:
> >
> >> That's where I'm stuck. Nothing shows up in the logs, error or access.
> >
> >Could you make debug log ?
> >
> >> On 7/14/07, Aleksandar Lazic <al-nginx at none.at> wrote:
> >> >Hi,
> >> >
> >> >On Sam 14.07.2007 00:20, Greg Benedict wrote:
> >> >>I've run into an issue using basic auth that I could use some help
> >> >>with. When you go to a page, it pops up for credentials, but
> >> >>regardless of entry (good or bad) it returns a 500 error.
> >> >
> >> >What is in the error log?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list