| From | Sent On | Attachments |
|---|---|---|
| HTF | Jun 9, 2011 7:53 am | |
| Maxim Dounin | Jun 9, 2011 9:16 am | |
| HTF | Jun 9, 2011 10:00 am | |
| Maxim Dounin | Jun 9, 2011 10:57 am | |
| HTF | Jun 9, 2011 2:42 pm | |
| António P. P. Almeida | Jun 10, 2011 10:31 am | |
| HTF | Jun 10, 2011 10:47 am | |
| António P. P. Almeida | Jun 10, 2011 10:57 am | |
| HTF | Jun 10, 2011 10:58 am | |
| HTF | Jun 10, 2011 11:12 am | |
| HTF | Jun 11, 2011 1:54 am | |
| Maxim Dounin | Jun 11, 2011 3:28 am | |
| HTF | Jun 14, 2011 8:21 pm | |
| Maxim Dounin | Jun 15, 2011 1:03 am | |
| HTF | Jun 15, 2011 5:33 am | |
| Maxim Dounin | Jun 15, 2011 12:29 pm | |
| tsaavik | Jul 7, 2011 8:13 am | |
| Maxim Dounin | Jul 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?
Maxim Dounin
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





