atom feed18 messages in ru.sysoev.nginxRe: Error pages/Web Authentication
FromSent OnAttachments
HTFJun 9, 2011 7:53 am 
Maxim DouninJun 9, 2011 9:16 am 
HTFJun 9, 2011 10:00 am 
Maxim DouninJun 9, 2011 10:57 am 
HTFJun 9, 2011 2:42 pm 
António P. P. AlmeidaJun 10, 2011 10:31 am 
HTFJun 10, 2011 10:47 am 
António P. P. AlmeidaJun 10, 2011 10:57 am 
HTFJun 10, 2011 10:58 am 
HTFJun 10, 2011 11:12 am 
HTFJun 11, 2011 1:54 am 
Maxim DouninJun 11, 2011 3:28 am 
HTFJun 14, 2011 8:21 pm 
Maxim DouninJun 15, 2011 1:03 am 
HTFJun 15, 2011 5:33 am 
Maxim DouninJun 15, 2011 12:29 pm 
tsaavikJul 7, 2011 8:13 am 
Maxim DouninJul 7, 2011 10:22 am 
Subject:Re: Error pages/Web Authentication
From:Maxim Dounin (mdou@mdounin.ru)
Date:Jun 15, 2011 1:03:51 am
List:ru.sysoev.nginx

Hello!

On Tue, Jun 14, 2011 at 11:21:52PM -0400, HTF wrote:

Maxim Dounin Wrote:

-------------------------------------------------------

nginx uses only *one* configuration to process request, please see here:

http://wiki.nginx.org/HttpCoreModule#location

If you want /administrator to be protected, but still want php processed there, you have to define two locations for this: one for protected static files and one for protected php files.

Using nested location simple config will look like:

location ^~ /administrator { auth_basic ... ...

location ~ \.php$ { fastcgi_pass ... ... } }

Hello,

Thank you.

Is this recommended/only configuration for this in my case - according to wiki from the link above (> http://wiki.nginx.org/HttpCoreModule#location): "While nested locations are allowed by the configuration file parser, their use is discouraged and may produce unexpected results. "

There were problems with nested locations somewhere near 0.7.*. They were resolved, wiki is just stale.

Also could you please advise why the SHA and MD5 encryption for the basic authentication is not working for me. I receive password mismatch errors in the log files

What does nginx -v show?