Welcome! Log In Create A New Profile

Advanced

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Francis Daly
October 26, 2013 08:54AM
On Fri, Oct 25, 2013 at 07:07:20PM -0400, Brian08275660 wrote:

Hi there,

> ~*(.*)X
>
> I think that the first two characters mean "match anycase", then the "(.*)"
> would mean "any quantity of characters" and the "X" would mean that specific
> letter.
>
> Am I right?

Yes.

But unless you're going to do something with the bit before the X,
then in the context of a map{}, it is equivalent to ~*X, since all you
care about is whether it matches.

It will just as easily match x123 or 123x123.

f
--
Francis Daly francis@daoine.org

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

limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 22, 2013 11:42PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Francis Daly October 23, 2013 04:10AM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 23, 2013 08:56AM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Francis Daly October 23, 2013 12:54PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 23, 2013 01:38PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 23, 2013 11:38PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 25, 2013 01:31PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Jader H. Silva October 25, 2013 02:00PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 25, 2013 05:14PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 25, 2013 07:07PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Francis Daly October 26, 2013 08:54AM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 26, 2013 09:38AM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

unclepieman October 25, 2013 05:04PM

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

Brian08275660 October 25, 2013 05:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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