Welcome! Log In Create A New Profile

Advanced

Re: unexpected location regex behaviour

Peter Molnar
March 09, 2016 09:32AM
On 03/09/2016 01:24 PM, Francis Daly wrote:
> On Wed, Mar 09, 2016 at 11:31:08AM +0000, Peter Molnar wrote:
>
> Hi there,
>
>> I'm facing some strange, unexpected regex behaviour in my setup.
>
> I think the answer is at http://nginx.org/r/rewrite and the "last" flag.

You were right about this. If I replace the 'last' with 'break' in the
@filesmagic block, it starts working as expected.

I somehow mistaken the behaviour of last for the behaviour of break in
this case.

Thank you!

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

unexpected location regex behaviour

Peter Molnar March 09, 2016 06:32AM

Re: unexpected location regex behaviour

Francis Daly March 09, 2016 08:26AM

Re: unexpected location regex behaviour

Peter Molnar March 09, 2016 09:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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