Welcome! Log In Create A New Profile

Advanced

Re: Blocking by user agent if ip doesn't match

Alexandr Gomoliako
May 31, 2011 05:30PM
On 6/1/11, António P. P. Almeida <appa@perusio.net> wrote:
> Question: Is using the map directive more efficient than using a
> "naive" if with access control directives?

I think it's just considered to be a bad practice to use anything
rather than return or rewrite in ifs.
In terms of efficiency: geo uses rbtrees and access module uses
arrays. But I don't think it's about that. It's more of an example to
illustrate how to use multiple conditions and new features in nginx.

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

Blocking by user agent if ip doesn't match

karabaja May 31, 2011 02:49PM

Re: Blocking by user agent if ip doesn't match

António P. P. Almeida May 31, 2011 03:06PM

Re: Blocking by user agent if ip doesn't match

Alexandr Gomoliako May 31, 2011 03:20PM

Re: Blocking by user agent if ip doesn't match

Igor Sysoev May 31, 2011 03:36PM

Re: Blocking by user agent if ip doesn't match

Alexandr Gomoliako May 31, 2011 04:36PM

Re: Blocking by user agent if ip doesn't match

António P. P. Almeida May 31, 2011 05:06PM

Re: Blocking by user agent if ip doesn't match

Alexandr Gomoliako May 31, 2011 05:30PM

Re: Blocking by user agent if ip doesn't match

Igor Sysoev June 01, 2011 03:26AM

Re: Blocking by user agent if ip doesn't match

Hari Hendaryanto June 01, 2011 04:48AM

Re: Blocking by user agent if ip doesn't match

Igor Sysoev June 01, 2011 04:50AM

Re: Blocking by user agent if ip doesn't match

karabaja May 31, 2011 06:01PM

Re: Blocking by user agent if ip doesn't match

António P. P. Almeida May 31, 2011 06:28PM

Re: Blocking by user agent if ip doesn't match

António P. P. Almeida May 31, 2011 06:34PM

Re: Blocking by user agent if ip doesn't match

karabaja May 31, 2011 06:44PM

Re: Blocking by user agent if ip doesn't match

António P. P. Almeida May 31, 2011 07:00PM

Re: Blocking by user agent if ip doesn't match

Igor Sysoev June 01, 2011 03:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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