Welcome! Log In Create A New Profile

Advanced

Re[2]: .htaccess issues

Max
February 13, 2012 04:14PM
13 февраля 2012, 21:58 от António P. P. Almeida <appa@perusio.net>:
> On 12 Fev 2012 15h32 WET, guilherme.e@gmail.com wrote:
>
> You can use the auth_request module for that then.
>
> http://mdounin.ru/hg/ngx_http_auth_request_module
>
> I've replicated the mercurial repo on github:
>
> https://github.com/perusio/nginx-auth-request-module
>
> It involves setting up a location that proxy_pass(es) to the Apache
> upstream and returns 403 if not allowed to access.

Maxim's auth_request module is great, but AFAIK, it doesn't
support caching, which makes it unsuited to the OP's
situation because the OP wants to cache large files from
the backend server(s).

The access_by_lua solution I proposed, on the other hand,
does make it possible to cache the content, and if one should
want, even the IP-based authorization information in a
separate cache zone.

Max
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

.htaccess issues

Guilherme February 10, 2012 12:10PM

Re: .htaccess issues

António P. P. Almeida February 10, 2012 12:34PM

Re: .htaccess issues

Guilherme February 10, 2012 12:58PM

Re: .htaccess issues

António P. P. Almeida February 10, 2012 01:10PM

Re: .htaccess issues

Adrián Navarro February 10, 2012 01:10PM

Re: .htaccess issues

Guilherme February 10, 2012 02:42PM

Re: .htaccess issues

António P. P. Almeida February 10, 2012 03:00PM

Re: .htaccess issues

geberhart February 12, 2012 10:34AM

Re: .htaccess issues

António P. P. Almeida February 13, 2012 12:58PM

Re[4]: .htaccess issues

Max February 14, 2012 02:50AM

Re: Re[4]: .htaccess issues

António P. P. Almeida February 14, 2012 09:34AM

Re: Re[4]: .htaccess issues

António P. P. Almeida February 14, 2012 09:54AM

Re: Re[4]: .htaccess issues

geberhart February 14, 2012 11:48AM

Re[4]: .htaccess issues

Max February 12, 2012 08:06PM

Re[4]: .htaccess issues

Max February 12, 2012 08:10PM

Re[2]: .htaccess issues

Max February 10, 2012 03:10PM

Re: Re[2]: .htaccess issues

geberhart February 12, 2012 10:38AM

Re: .htaccess issues

Francis Daly February 12, 2012 11:50AM

Re[2]: .htaccess issues

Max February 13, 2012 04:14PM

Re: Re[2]: .htaccess issues

António P. P. Almeida February 13, 2012 04:46PM

Re[6]: .htaccess issues

Max February 14, 2012 07:38PM

Re: .htaccess issues

Piotr Sikora February 14, 2012 09:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
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