Re: Regexp

2018-07-24 Thread Frederic Lecaille
On 07/20/2018 12:03 AM, Aleksandar Lazic wrote: Hi. On 18/07/2018 13:10, Haim Ari wrote: Hello, Trying to set backend by regexp This regexp works outside of haproxy String: /1.0/manage/bu/ca?token=68bf68bf68bf68bf68bf=1212121212=123456789 Regexp: ^\/1\.0\/manage\/bu\/ca\?token

Re: Regexp

2018-07-22 Thread Haim Ari
ok found it, It should be url_reg not path_reg It works now Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Haim Ari Sent: Sunday, July 22, 2018 2:51:41 PM To: Aleksandar Lazic Cc: haproxy@formilux.org Subject: Re: Regexp

Re: Regexp

2018-07-22 Thread Haim Ari
10s minconn 10 maxconn 200 maxqueue 1 slowstart 120s Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Haim Ari Sent: Sunday, July 22, 2018 2:44:11 PM To: Aleksandar Lazic Cc: haproxy@formilux.org Subject: Re: Regexp Version: HA

Re: Regexp

2018-07-22 Thread Haim Ari
%2CMU%2CYT%2CMX%2CFM%2CMD%2CMC%2CMN%2CMS%2CMA%2CMZ%2CMM%2CNA%2CNR%2CNP%2CNL%2CAN%2CNC%2CNZ%2CNI%2CNE%2CNG%2CNU%2CNF%2CMP%2CNO%2COM%2CPK%2CPW%2CPS%2CPA%2CPG%2CPY%2CPE%2CPH%2CPN%2CPL%2CPT%2CPR%2CQA%2CRE% The regexp i tried and works externally : ^\/1\.0\/manage\/bu\/ca\?token=.*seg=.*partner

Re: Regexp

2018-07-19 Thread Aleksandar Lazic
Hi. On 18/07/2018 13:10, Haim Ari wrote: Hello, Trying to set backend by regexp This regexp works outside of haproxy String: /1.0/manage/bu/ca?token=68bf68bf68bf68bf68bf=1212121212=123456789 Regexp: ^\/1\.0\/manage\/bu\/ca\?token=.*.segId=.*=123456789 What is the right syntax

Regexp

2018-07-18 Thread Haim Ari
Hello, Trying to set backend by regexp This regexp works outside of haproxy String: /1.0/manage/bu/ca?token=68bf68bf68bf68bf68bf=1212121212=123456789 Regexp: ^\/1\.0\/manage\/bu\/ca\?token=.*.segId=.*=123456789 What is the right syntax for this in haproxy ? Thank you