Hi,
I'm searching the good method for using request_header_replace with acl (dst)
acl test dst 10.1.1.0/24
request_header_access Via allow test
request_header_access Via deny all
request_header_replace Via 1.1 toto
Sadly my header always contain toto
On 24/01/2012 11:08 p.m., FredB wrote:
Hi,
I'm searching the good method for using request_header_replace with acl (dst)
acl test dst 10.1.1.0/24
request_header_access Via allow test
request_header_access Via deny all
request_header_replace Via 1.1 toto
Sadly my header always contain toto
request_header_access is a fast ACL so it can't do DNS lookups to
find
the dst IP address itself.
It also only has access to details in the HTTP request headers and
src
IP address.
Using dstdomain ACL on the requested domain name it should work.
NP: using the server connection