Kevhed
Jan 19, 2016Nimbostratus
Rewrite host domain URL
I've been looking thru many posts about rewriting and reverse proxy and cannot find what I'm looking for. I attempted to use a Rewrite Profile but that did not let me change the host/domain portion of the URL...it only allowed me to rewrite the part after the host/domain name. Hopefully this is not a repeat question but here I go.
This is what I am trying to do
- Internet user browses to mydomain-A.com/98/02/9802240_A.abc_Med.jpg
- This hits a vip/VS on my F5 and my F5 has a cert for this domain, so it accepts the ssl connection using a client ssl profile.
- I need the F5 to rewrite the domain part of this URL to mydomain-B.com/98/02/9802240_A.abc_Med.jpg and send this back to the server pool using a server ssl profile for the virtual server.
so my F5 will essentially be acting as a reverse proxy with rewrite and the client should not see the "mydomian-B" in the rewrite...but only the original "mydomain-A" that user browsed to.
thanks