Welcome! Log In Create A New Profile

Advanced

Re: Error pages/Web Authentication

HTF
June 14, 2011 11:21PM
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. "

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
Subject Author Posted

Error pages/Web Authentication

HTF June 09, 2011 10:17AM

Re: Error pages/Web Authentication

Maxim Dounin June 09, 2011 12:18PM

Re: Error pages/Web Authentication

HTF June 09, 2011 01:01PM

Re: Error pages/Web Authentication

Maxim Dounin June 09, 2011 02:00PM

Re: Error pages/Web Authentication

HTF June 09, 2011 05:43PM

Re: Error pages/Web Authentication

António P. P. Almeida June 10, 2011 01:32PM

Re: Error pages/Web Authentication

HTF June 10, 2011 01:48PM

Re: Error pages/Web Authentication

HTF June 10, 2011 01:59PM

Re: Error pages/Web Authentication

António P. P. Almeida June 10, 2011 02:00PM

Re: Error pages/Web Authentication

tsaavik July 07, 2011 11:14AM

Re: Error pages/Web Authentication

Maxim Dounin July 07, 2011 01:24PM

Re: Error pages/Web Authentication

HTF June 10, 2011 02:13PM

Re: Error pages/Web Authentication

HTF June 11, 2011 04:55AM

Re: Error pages/Web Authentication

Maxim Dounin June 11, 2011 06:30AM

Re: Error pages/Web Authentication

HTF June 14, 2011 11:21PM

Re: Error pages/Web Authentication

Maxim Dounin June 15, 2011 04:06AM

Re: Error pages/Web Authentication

HTF June 15, 2011 08:34AM

Re: Error pages/Web Authentication

Maxim Dounin June 15, 2011 03:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready