Re: Haproxy notifications

2011-09-24 Thread carlo flores
Hey Ibrahim. Continued on your GitHub issue! On Sat, Sep 24, 2011 at 1:25 AM, İbrahim Ercan wrote: > Hi Carlo, I tried to install it but i got that error when run it. > > -# service haproxyctl "show health" > /etc/init.d/haproxyctl:17:in `require': no such file to load -- haproxyctl > (LoadError

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 03:02:59PM +, DerekLiao wrote: > > configuration files: > > > reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\2 > reqirep ^Host: Host:\ www.bbb.com > > Logs: > srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 "GET > /result_aaa/ HTTP/1.

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
caipiao.aaa.com/kaijiang(my website) -> www.bbb.com/result_aaa(third party website) when i enter "caipiao.aaa.com/kaijiang", it should show me the content of www.bbb.com/result_aaa > From: cyril.bo...@free.fr > To: y...@hotmail.com > CC: haproxy@formilux.org; w...@1wt.eu > Subject: Re: Need

Re: Need help about reqrep (urgent)

2011-09-24 Thread Cyril Bonté
Le Samedi 24 Septembre 2011 15:02:59 DerekLiao a écrit : > configuration files: > > > reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\2 > reqirep ^Host: Host:\ www.bbb.com > > Logs: > srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 "GET > /result_aaa/ HTTP/1.1" >

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
configuration files: reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\2 reqirep ^Host: Host:\ www.bbb.com Logs: srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 "GET /result_aaa/ HTTP/1.1" but i can access www.bbb.com/result_aaa/ From: y...@hotmail.com To: cyril

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
configuration files: reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\ reqirep ^Host: Host:\ www.bbb.com Logs: srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 "GET /result_aaa/ HTTP/1.1" but i can access www.bbb.com/result_aaa/

Re: Need help about reqrep (urgent)

2011-09-24 Thread Cyril Bonté
Le Samedi 24 Septembre 2011 14:10:19 DerekLiao a écrit : > All, > I tried what you suggested, I think it s also a problem on rewrite URI: > configuration files: > reqrep ^([^\ ]*)\ /kaijiang(/.*) \1\ /result_bbb\2 > reqirep ^Host: Host:\ www.bbb.com > #reqdeny ^([^\ ]*)\ /kaijia

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
All, I tried what you suggested, I think it s also a problem on rewrite URI: configuration files: reqrep ^([^\ ]*)\ /kaijiang(/.*) \1\ /result_bbb\2 reqirep ^Host: Host:\ www.bbb.com #reqdeny ^([^\ ]*)\ /kaijiang reqdeny ^([^\ ]*)\ /result_bbb option httpchk GET / HTTP

Re: Need help about reqrep (urgent)

2011-09-24 Thread Cyril Bonté
Hi all, Le Samedi 24 Septembre 2011 12:43:35 Willy Tarreau a écrit : > Hi, > > On Fri, Sep 23, 2011 at 11:20:52AM +, DerekLiao wrote: > > backend cs_aaa_caipiaos_1 > > > > reqrep > > > > ^([^\ ]*)\ /kaijiang(/.*) \1\ /result_aaa\2 > > > > option httpchk GET / HTTP/1.1\r\nHost:

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 11:23:07AM +, DerekLiao wrote: > > is it possible to get detail rewrite infomation like apache error log does? No, what haproxy logs is what it *receives*. That's why we're asking for what is seen on the other side. > tcpdump, little bit diffcult ,too much taffice nee

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
is it possible to get detail rewrite infomation like apache error log does? tcpdump, little bit diffcult ,too much taffice need to analyse From: luky...@hotmail.com To: y...@hotmail.com; w...@1wt.eu CC: haproxy@formilux.org Subject: RE: Need help about reqrep (urgent) Date: Sat, 24 Sep 2011 13:2

RE: Need help about reqrep (urgent)

2011-09-24 Thread Lukas Tribus
tcpdump it on the haproxy box then. Somehow you need to understand what happens between haproxy and the backend. Lukas From: y...@hotmail.com To: w...@1wt.eu CC: haproxy@formilux.org Subject: RE: Need help about reqrep (urgent) Date: Sat, 24 Sep 2011 11:15:09 + from haproxy, I can s

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
from haproxy, I can see the URI is /kaijiang which was not changed I can't see the backend server's log, because it was out of my control, actually that is thirdparty company's web site > Date: Sat, 24 Sep 2011 13:11:05 +0200 > From: w...@1wt.eu > To: y...@hotmail.com > CC: haproxy@formilux

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 11:06:07AM +, DerekLiao wrote: > > health check is normal, I checked from haproxy monitor screen , OK, maybe it's your server which is returning 503 then. > How to check reqrep is working fine or not ? That's what I explained, in apache's logs. > I double the URI h

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
health check is normal, I checked from haproxy monitor screen , How to check reqrep is working fine or not ? I double the URI has not been replaced > Date: Sat, 24 Sep 2011 12:52:01 +0200 > From: w...@1wt.eu > To: y...@hotmail.com > CC: haproxy@formilux.org > Subject: Re: Need help about req

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 10:46:23AM +, DerekLiao wrote: > > Is it set correctly It does not indicate what's in it. What do you mean by "correctly" ? > I only see 503/404 error on haproxy log, I already set debug level ! version > 1.4.14 503s indicate that sometimes there is no server to co

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
Is it set correctly I only see 503/404 error on haproxy log, I already set debug level ! version 1.4.14 I really need your help My Skype account : derek.liao66 > Date: Sat, 24 Sep 2011 12:43:35 +0200 > From: w...@1wt.eu > To: y...@hotmail.com > CC: haproxy@formilux.org > Subject: Re: Need hel

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
Hi, On Fri, Sep 23, 2011 at 11:20:52AM +, DerekLiao wrote: > Hey there, > > I > have trouble with direct ??reqrep?? > > what I want is : > > My main web site is : caipiao.aaa.com > > > My second web site is: www.bbb.com > > My goal is redirect URL from caipiao.aaa.com/ kaijiang > ---

Re: Haproxy notifications

2011-09-24 Thread İbrahim Ercan
Hi Carlo, I tried to install it but i got that error when run it. -# service haproxyctl "show health" /etc/init.d/haproxyctl:17:in `require': no such file to load -- haproxyctl (LoadError) from /etc/init.d/haproxyctl:17 On 22 September 2011 21:42, carlo flores wrote: > Here's an HAProxy ctl/in

Re: Transparent Proxy

2011-09-24 Thread Jason J. W. Williams
Thank you. I've been reading that, but wanted to confirm. -J Sent via iPhone Is your email Premiere? On Sep 24, 2011, at 0:57, Malcolm Turnbull wrote: > Jason, > > No that option is not relevant for TPROXY (client source IP transparency) > > Its an old blog but take a look at: > http://blo

Re: Feature idea (maybe)

2011-09-24 Thread Levente Peres
I forgot to mention: It would be useful to have the possibility to filter only incoming or outgoing traffic or both in this fashion. Hope this has some merit... Levente 2011.09.24. 9:12 keltezéssel, Levente Peres írta: Hi, I have an idea for a possibly useful feature. How about some possi

Feature idea (maybe)

2011-09-24 Thread Levente Peres
Hi, I have an idea for a possibly useful feature. How about some possibility to "keep" a certain IP in a "sandbox", where we can filter all it's traffic trough a virus/intrusion detection filter, then allow it to be trusted for X hours/days and pass it out to the general loadbalancing queue?