DDuck_139270
Jun 15, 2016Nimbostratus
HTTPS (old) to HTTPS (new) Redirect with an existing VS and Client Profile
I have read many postings on similar setups, but I am not sure any of them fit mine. So I need to share my scenario.
Here is the scenario:
I have an existing VS and a client profile that is terminating SSL using the F5. This existing VS will have its client profile changed to the new SSL certificate. The old domain (https) will need to map or redirect to the new domain (https) without the users noticing.
So, we need to redirect https://olddomain.com/path to https://newdomain.com/path. Both old and new domains will use the same DNS IPs.
The goal is to ensure the user sees "https://newdomain.com/whatever/path" every time using a 301 redirect. The following is what I am proposing:
when HTTP_REQUEST {
HTTP::respond 301 Location "https://newdomain.com[HTTP::uri]"
}
Any issues with this proposal?
Thanks D