Forum Discussion
hooleylist
Jun 16, 2010Cirrostratus
Hi John,
If you want to rewrite the HTTP host header value to the IP address of the selected server, you can use an iRule like this:
when HTTP_REQUEST_SEND {
Force evaluation in the clientside context
clientside {
Replace the Host header value with the selected server IP address
HTTP::header replace Host [LB::server addr]
}
}
Aaron