Re: Building HAProxy 1.8 fails on Solaris

2018-07-22 Thread Thrawn
Actually, we can successfully compile the latest 1.7 on the same Solaris setup, without USE_PTHREAD_PSHARED. You're right about the patch, though; it seems unnecessary with that flag. Thanks! On Saturday, 21 July 2018, 10:07:41 am AEST, Olivier Houchard wrote: My patch won't be

Re: Help with environment variables in config

2018-07-22 Thread Willy Tarreau
On Sat, Jul 21, 2018 at 05:44:44PM +0100, Jonathan Matthews wrote: > No. Sudo doesn't pass envvars through to its children by default: > https://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo > > Read that page *and* the comments - in particular be aware

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 And the

Re: Regexp

2018-07-22 Thread Haim Ari
And the config is: frontend HTTP-In option http-buffer-request bind-process 1 2 acl publisher-x path_reg ^\/1\.0\/manage\/bu\/ca\?token=.*seg=.*partner=987654321.* use_backend web1 if publisher-x bind 217.65.36.201:80 bind 217.65.36.202:80 bind 217.65.36.203:80

Re: Regexp

2018-07-22 Thread Haim Ari
Version: HA-Proxy version 1.8.1-1ppa1~xenial 2017/12/04 Use case: Need to direct these path_reg to a none default backend req: