Forum Discussion
Lee_Sutcliffe
Nov 10, 2017Nacreous
Hi, this iRule should do what you require
when HTTP_REQUEST {
if {([HTTP::host] equals "abc.com") && ([HTTP::uri] starts_with "/xyz")} {
HTTP::header insert X-Forwarded-For [IP::client_addr]
}
}