HaProxy ACL

From: Georgi Georgiev <gogo#dirbg.com>
Date: Fri, 6 Feb 2009 12:28:22 +0200


Hi to all,

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

The configuration is :  

frontend test_one

        bind 192.168.63.10:80

        mode http

        log global

        clitimeout 300000

        maxconn 10000  

        acl payment path_beg /payments/  

        acl pay_xxx hdr_beg(host) -i pay.xxx.bg

        acl pay_xxx hdr_beg(host) -i www.pay.xxx.bg  

        use_backend www_php4 if payment  

        redirect prefix https://pay.xxx.bg if pay_xxx  

        capture request header Host len 20

        default_backend www_php4  

So problem here is that when user access http://pay.xxx.bg/payments/xxxxx it always goes to redirect option :  

How can I managed that ?  

Best Regards,

 Georgi Georgie   Received on 2009/02/06 11:28

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