Re: How to do location /test/place?id=2

2019-10-19 Thread P.V.Anthony
On 19/10/19 4:22 pm, Aleksandar Lazic wrote: Have you tried Lewis suggestion with $arg_id, it looks exactly what you searching for? Untested: location = /test/place { if ($arg_id = "2") { return 301 https://new.example.com/test/place?$args; } } I did try but it does not

Re: IOS keep asking password with nginx auth_basic

2019-10-19 Thread Francis Daly
On Mon, Oct 14, 2019 at 11:07:43PM -0400, tiendungitd wrote: Hi there, > As you can see in access log https://pastebin.com/6vWhtb3Y, when I submited > a POST request, then browser will have GET request to ivp page, and got a > 401 code which is require to enter user/password. Any idea of what mig

Re: How to do location /test/place?id=2

2019-10-19 Thread Aleksandar Lazic
Hi P.V.Anthony. Am 17.10.19 um 23:15 schrieb J. Lewis Muir: > On 10/18, P.V.Anthony wrote: >> Currently have the following url, >> >> https://old.example.com/test/place?id=1 >> https://old.example.com/test/place?id=2 >> https://old.example.com/test/place?id=3 >> >> Need to redirect only id=2 to an