Yaniv_93956
Jan 21, 2013Nimbostratus
Using F5 as a proxy between two websites
Hello Devcentral,
I’m trying to set an IRule to act as a proxy between two websites without changing the URL in the user’s browser.
When user goes to
https://www.site1.com/test
The F5 should go to https://www.site2.com/test and reply to the user (as I said without changing the URL in his browser).
I tried this syntax but it doesn’t seem to be working:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/test" } {
HTTP::header replace Host "www.site2.com"
}
}
Can you please advise me what am I doing wrong here?
Tnx, Yaniv.