Forum Discussion

Soujanaya_Sunku's avatar
Soujanaya_Sunku
Icon for Nimbostratus rankNimbostratus
Sep 09, 2013

Need an IRule for redirect and rewrite from https://abc and http://abc to https://xyz

I have the below iRule for http://abc and it works

 

when HTTP_REQUEST { HTTP::redirect https://xyz[HTTP::uri] } But need something similar or how can i do it for https.

 

Thanks Soujanya

 

1 Reply

  • That iRule should work for an HTTPS VIP as well assuming that you have the SSL terminated on that VIP. If you aren't terminating SSL, then there's no way for the iRule to terminate the request and send a 302 redirect to the client.

     

    -Joe