Strange question about hdr_dom(host) function


#1

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?


#2

this link is "http://hot.vrs.sohu.com:80/vrs_flash.action?vid=4159698"
Both rules are not working for this link.


#3

Just use hdr(host), without _dom.