Patrick_Sevill1
Dec 07, 2017Nimbostratus
Solved
https to https redirection
is it possible to redirect a https url ? for example, when https://page1.com arrives can an irule redirect to https://page2.com
Redirection can be achieve by either F5 policy(V11.3 onward) or iRule.
- Policy is the best option to achieve this kind of redirection, same already discussed by @WithF5. In-fact F5 policy is good to explore in new era.
Option 2. Same can be achieve via iRule. iRule is already shared by devcentral Colleague. Did some modification in above iRule. Hope it will work for you.
when HTTP_REQUEST { if { ([string tolower [HTTP::host]] equals "page1.com") && ([TCP::local_port] == 443)} { HTTP::redirect "http://page2.com" } }