Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Strange question about hdr_dom(host) function

$
0
0

@yanggis wrote:

Dear all:
I’m using the fuction ddr_dom(host) to filter some links:
The initial acl rule is as follows:
acl is_newsohu path_beg /vrs_flash hdr_dom(host) -i hot.vrs.sohu.com
use_backend proxy-sohuPhone if is_newsohu
It is not working correctly for the link (see next reply) which should pass the rule, instead of blocked by the rule.

Then I updated the acl rule to this:
acl is_newsohu path_beg /vrs_flash hdr_dom(host) -i hot.vrs.sohu.com:80
use_backend proxy-sohuPhone if is_newsohu

It is still not working either.

Can you guys help me check how to fix this issue?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>