HAProxy 1.7 memory leak?

2016-12-08 Thread rickytato rickytato
 I'm testing HAProxy 1.7.0 (I'm using 1.6.x from several time) but I notice
this strange thing, seen that memory continue to growing.





​​
​


Re: Rewrite cookie path cookie domain

2015-07-15 Thread rickytato rickytato
Hi all,
I've problem to rewrite cookie path and cookie domain in HAproxy; I've a
Nginx configuration but I want to move from Nginx to HAProxy for this proxy
pass.

This is a Nginx config I want to replace:

  location /~xxx/ {
proxy_cookie_domain ~.* .$site.it;
proxy_cookie_path   ~.* /~xxx/;
proxy_set_headerHost $site.it;
proxy_pass  http://192.168.1.2/;
 }

I need same function of proxy_cookie_domain and proxy_cookie_path; I found
this:
http://blog.haproxy.com/2014/04/28/howto-write-apache-proxypass-rules-in-haproxy/
but not work form me.

Now I can change cookie path with:
  rspirep ^(Set-Cookie:.*)\ path=(.*) \1\ path=/~xxx/

I need add also domain, only if exists, but with dynamic hostname; I;ve
tried with

  acl hdr_set_cookie_domain_and_path res.hdr(Set-cookie) -m sub domain=
res.hdr(Set-cookie) -m sub path=
 rspirep ^(Set-Cookie:.*)\ path=(.*) \1\ path=/~xxx/;\ domain=%[hdr(Host)]
if hdr_set_cookie_domain_and_path

But not work.


Anyone can help me?

Tnx,
rr

2015-07-14 21:34 GMT+02:00 Baptiste bed...@gmail.com:

 Please repost your question. I can't see it in my mail history.

 Baptiste

 On Tue, Jul 14, 2015 at 3:33 PM, rickytato rickytato
 rickyt...@r2consulting.it wrote:
  Anyone can help me? I keep using Nginx?
 
  2015-07-07 10:46 GMT+02:00 rickytato rickytato 
 rickyt...@r2consulting.it:
 
  1.5.12
 
  2015-07-06 17:58 GMT+02:00 Aleksandar Lazic al-hapr...@none.at:
 
  Dear rickytato rickytato.
 
  Am 06-07-2015 15:32, schrieb rickytato rickytato:
 
  Hi all,
  I've problem to rewrite cookie path and cookie domain in HAproxy;
 I've a
  Nginx configuration but I want to move from Nginx to HAProxy for this
 proxy
  pass.
 
 
  Which Version of haproxy do you use?
 
  haproxy -vv ?
 
  Cheers Aleks
 
 
 



Re: Rewrite cookie path cookie domain

2015-07-14 Thread rickytato rickytato
Anyone can help me? I keep using Nginx?

2015-07-07 10:46 GMT+02:00 rickytato rickytato rickyt...@r2consulting.it:

 1.5.12

 2015-07-06 17:58 GMT+02:00 Aleksandar Lazic al-hapr...@none.at:

 Dear rickytato rickytato.

 Am 06-07-2015 15:32, schrieb rickytato rickytato:

  Hi all,
 I've problem to rewrite cookie path and cookie domain in HAproxy; I've a
 Nginx configuration but I want to move from Nginx to HAProxy for this proxy
 pass.


 Which Version of haproxy do you use?

 haproxy -vv ?

 Cheers Aleks





Re: Rewrite cookie path cookie domain

2015-07-07 Thread rickytato rickytato
1.5.12

2015-07-06 17:58 GMT+02:00 Aleksandar Lazic al-hapr...@none.at:

 Dear rickytato rickytato.

 Am 06-07-2015 15:32, schrieb rickytato rickytato:

  Hi all,
 I've problem to rewrite cookie path and cookie domain in HAproxy; I've a
 Nginx configuration but I want to move from Nginx to HAProxy for this proxy
 pass.


 Which Version of haproxy do you use?

 haproxy -vv ?

 Cheers Aleks



Rewrite cookie path cookie domain

2015-07-06 Thread rickytato rickytato
Hi all,
I've problem to rewrite cookie path and cookie domain in HAproxy; I've a
Nginx configuration but I want to move from Nginx to HAProxy for this proxy
pass.

This is a Nginx config I want to replace:

   location /~xxx/ {
proxy_cookie_domain ~.* .$site.it;
proxy_cookie_path   ~.* /~xxx/;
proxy_set_headerHost $site.it;
proxy_pass  http://192.168.1.2/;
 }

I need same function of proxy_cookie_domain and proxy_cookie_path; I found
this:
http://blog.haproxy.com/2014/04/28/howto-write-apache-proxypass-rules-in-haproxy/
but not work form me.

Now I can change cookie path with:
   rspirep ^(Set-Cookie:.*)\ path=(.*) \1\ path=/~xxx/

I need add also domain, only if exists, but with dynamic hostname; I;ve
tried with

   acl hdr_set_cookie_domain_and_path res.hdr(Set-cookie) -m sub domain=
res.hdr(Set-cookie) -m sub path=
 rspirep ^(Set-Cookie:.*)\ path=(.*) \1\ path=/~xxx/;\ domain=%[hdr(Host)]
if hdr_set_cookie_domain_and_path

But not work.


Anyone can help me?

Tnx,
rr


Re: url_beg

2011-06-10 Thread rickytato rickytato
2011/6/10 Gerd Müller gmuel...@it4sport.de

 Hi list,

 I have a problem with url_beg.  I am using it the following way:

 acl aclDEV  url_beg /devel/


With this?

acl aclDEV  url_beg /devel


rr