Hi
i want to add which client request forwarded which node to http request header. Can you help me for this irule?
Hi
i want to add which client request forwarded which node to http request header. Can you help me for this irule?
Hi Ihsanekici
Go ahead and post up what you have now and what you want in the desired effect so the community can understand how to help
Thanks, CB
example ; client_ip: x.x.x.x = node: 192.168.1.10 client_ip: y.y.y.y = node: 192.168.1.11
this information will add http request header.
Try this:
when HTTP_REQUEST {
HTTP::header insert "client_ip" [IP::client_addr] "node" [IP::server_addr]
}
Try this:
when HTTP_REQUEST {
HTTP::header insert "client_ip" [IP::client_addr] "node" [IP::server_addr]
}
syntax may actually need to be when HTTP_REQUEST { HTTP::header insert [list “client_ip” [IP::client_addr] “node” [IP::server_addr]] }
syntax may actually need to be when HTTP_REQUEST { HTTP::header insert [list “client_ip” [IP::client_addr] “node” [IP::server_addr]] }
hi brad when i add this irule website isn’t open.
hi brad when i add this irule website isn’t open.
Do you have an HTTP profile on your virtual server? It is require for http manipulation via the irule.
Do you have an HTTP profile on your virtual server? It is require for http manipulation via the irule.