Sorry - I found my mistake :.

 

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

 

now everything is working

 

Regards,

 Georgi Georgiev

 

 

 

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

 

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

 

No virus found in this incoming message.
Checked by AVG i www.avg.com
Version: 8.0.233 / Virus Database: 270.10.16/1928 i Release Date: 01/31/09
20:03:00

  • HaProxy ACL Georgi Georgiev
    • RE: HaProxy ACL Georgi Georgiev

Reply via email to