RE: HaProxy ACL

From: Georgi Georgiev <>
Date: Fri, 6 Feb 2009 13:23:23 +0200

Sorry - I found my mistake :.  

redirect prefix if pay_xxx ! payment  

now everything is working  


 Georgi Georgiev      

From: Georgi Georgiev [] Sent: Friday, February 06, 2009 12:28 PM To:
Subject: HaProxy ACL  

Hi to all,

 I'd like to create acl path match in my frontend section  

The configuration is :  

frontend test_one


        mode http

        log global

        clitimeout 300000

        maxconn 10000  

        acl payment path_beg /payments/  

        acl pay_xxx hdr_beg(host) -i

        acl pay_xxx hdr_beg(host) -i  

        use_backend www_php4 if payment  

        redirect prefix if pay_xxx  

        capture request header Host len 20

        default_backend www_php4  

So problem here is that when user access it always goes to redirect option :  

How can I managed that ?  

Best Regards,

 Georgi Georgie  

No virus found in this incoming message. Checked by AVG i
Version: 8.0.233 / Virus Database: 270.10.16/1928 i Release Date: 01/31/09 20:03:00 Received on 2009/02/06 12:23

This archive was generated by hypermail 2.2.0 : 2009/02/06 13:30 CET