Re: [IE] Re: Rewrite with number after hyphen

2018-09-05 Thread Ivan Bianchi
me other inspection on the result and > see exactly what is triggering. This has saved my bacon more than once J. > > > > Jason > > > > > > > > location /foo { > > > rewrite /foo/(.*) /web/foo.do?a=$1 last; > > > } > > *From:* nginx

Re: Rewrite with number after hyphen

2018-09-05 Thread Ivan Bianchi
Hi Francis, many thanks for your response and guidelines. Indeed you were right that there was another location capturing the request. Best regards, On Mon, Sep 3, 2018 at 2:36 PM Francis Daly wrote: > On Mon, Sep 03, 2018 at 08:13:11AM +0200, Ivan Bianchi wrote: > >

Rewrite with number after hyphen

2018-09-02 Thread Ivan Bianchi
m/foo/asdf-12 https://www.test.com/foo/asdf-12-asdf As implementing pcre regex, this regex works in all cases in the common regex online sites but not in nginx. Why if I put a number after a hyphen the regex stops working? Many thanks, -- Ivan Bianchi Wikiloc _