Welcome! Log In Create A New Profile

Advanced

Re: Require a password for everything except one folder?

Francis Daly
November 06, 2014 01:48PM
On Thu, Nov 06, 2014 at 09:51:12AM -0500, nrahl wrote:

Hi there,

> I've also tried:
>
> location /Public { auth_basic off; allow all; }
>
> But adding "allow all" causes the password prompt to appear on that location
> again.

location ^~ /public {
auth_basic off;
allow all;
}

seems to work for me.

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.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 100
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