Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

acl regex (no replies)

$
0
0
Hi all,

I can’t create an acl that will match this

http://domain/?lang=

I tried

acl fr_top path_reg ^/.lang\=$
acl fr_top path_reg ^/\?lang\=$

acl fr_top path_beg /?lang\=$

I have a redirect 301 with

http-request redirect location http://doamine.com/ code 301 if fr_top


I have done other redirect that works fine but no luck with this one

Any help greatly appreciated.

Thanks



---
Guillaume Bourque, B.Sc.,

Viewing all articles
Browse latest Browse all 5112

Trending Articles