Forum Discussion
Mar 12, 2019
Hi Jonathan,
You can try creating an FQDN node and pool containing the external website and then using an iRule to replace the HTTP host header while not modifying the URI.
Try this (substitute your own values) and let me know if it works:
create ltm node www.foo.net fqdn { name www.foo.net interval ttl }
create ltm pool POOL-www.foo.net members add { www.foo.net:80 }
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc.net" && [string tolower [HTTP::uri]] starts_with "/example" } {
HTTP::header replace host "www.foo.net"
pool POOL-www.foo.net
snat automap
}
}