Vanity URL Redirect
We're working on migrating vanity URL's off a HTTP redirect server and on to the BIG-IP. Ultimately what we'd like to achieve is to have the BIG-IP redirect the vanity URL to the correct SSO URL (usually an IdP initiated link in PINGFED).
Currently, the redirect server has a binding for port 80 & 443, the 443 binding for each site uses the same wildcard certificate – we would obviously need to important this cert into the BIG-IP.
We'd like to create a new virtual server on the BIG-IP, and an irule that redirects vanity URL to correct SSO URL so we can migrate each site, one by one.
This is what I have so far for the irule:
when HTTP_REQUEST { if { [HTTP::host] equals "my-app-111.vanity-url.com" } { HTTP::redirect "https://my-app-111.mycompany-actual.com/idp/startSSO.ping?PartnerSpId=my-app-111"; }
Can anyone provide some suggestions on how to achieve this setup?