28-Jan-2021 07:41
28-Jan-2021 08:41
Do you mean redirection from e.g. https://abc.com to https://xyz.com? If yes, then its possible using simple iRule or LTM policy as well.
29-Jan-2021 00:28
Hi, thank you for your answer...I have tried with iRule but redirection from HTTPS to HTTPS does not seem possible...?
29-Jan-2021 00:57
Could you please share the iRule that you are trying to use?
29-Jan-2021 01:09
Sure. This is applied to an HTTPS VS :
(and does not work, BigIP complains that the VS is HTTPS and therefore cannot have applied an HTTP_REQUEST iRule)
when HTTP_REQUEST {
if { [HTTP::path] contains "superb" } {
HTTP::redirect "https://website.com/newpage"
}
}
29-Jan-2021 03:37
iRule looks good to me. Are you getting error related to the HTTP profile required on the virtual server while mapping iRule to it. As iRule include HTTP_REQUEST event, it will require http profile on the virtual server. If the error is different, could you please share detailed error snap?
29-Jan-2021 03:42
No as I said, it is just that the VS that is set as HTTPS does not take the HTTP_REQUEST (and REDIRECT afterwards)...
29-Jan-2021 03:51
Hi
Sounds like your VIP is working at Layer 4 and not Layer 7. To be able to inspect the HTTP payload you need to apply SSL profiles to the VIP so that it can decrypt the packets and inspect them at Layer 7 (HTTP)