Welcome! Log In Create A New Profile

Advanced

Re: Require a password for everything except one folder?

November 06, 2014 04:47PM
> Are you sure that the test url that you are requesting matches this
> location?
>
> There may be more useful information in the debug log regarding what
> is going wrong for you.
>

With debug logging on, I ahve confirmed it is matching the correct location.

With:

location ^~ /Public {
satisfy any;
allow all;
auth_basic off;
try_files fake.html @apache;
}

It matched the /Public location and I get: "no user/password was provided for basic authentication" durring the access phase.

With:

location ^~ /Public {
auth_basic off;
try_files fake.html @apache;
}

It matches the Public location, and produces:
access phase: 9
post access phase: 10
access forbidden by rule, client: xxx.xxx.xxx.xxx, server: www.myserver.com, request: "GET /Public/ HTTP/1.1", host: "www.myserver.com".

Then it returns a 403 without a basic auth prompt. So It looks like the rule is ovverriding the basic auth prompt, but not the deny rule?
Subject Author Posted

Require a password for everything except one folder?

nrahl November 05, 2014 08:46PM

Re: Require a password for everything except one folder?

Philipp November 06, 2014 02:04AM

Re: Require a password for everything except one folder?

nrahl November 06, 2014 09:51AM

Re: Require a password for everything except one folder?

Francis Daly November 06, 2014 01:48PM

Re: Require a password for everything except one folder?

nrahl November 06, 2014 04:47PM

Re: Require a password for everything except one folder?

Francis Daly November 06, 2014 05:24PM

Re: Require a password for everything except one folder?

nrahl November 06, 2014 05:35PM

Re: Require a password for everything except one folder?

Francis Daly November 06, 2014 06:10PM

Re: Require a password for everything except one folder?

nrahl November 06, 2014 07:29PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready