Forum Discussion

Nantu_Mandal_16's avatar
Nantu_Mandal_16
Icon for Nimbostratus rankNimbostratus
Oct 16, 2014

URL Redirection help needed

Hi, I have a portal mycompany.com. I have created a VS on my LTM with https and having another VS for http redirection to https with iRule.

 

Now, my manager wants me to redirect the earlier existing portal old.mycompany.com to my company.com. Need help me at the earliest.

 

Thanks and Regards, Nantu Mandal

 

3 Replies

    • Nantu_Mandal_16's avatar
      Nantu_Mandal_16
      Icon for Nimbostratus rankNimbostratus
      Hi Vitaly, I have prepared the irule for URL redirect per your suggestion. Please refer the below and correct me if I am wrong. Where should I call the iRule? in iApp or in VS? when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "lyncdiscover.im.no" } { HTTP::redirect "https://lyncdiscover.im.se[HTTP::uri]" } } Thanks, Nantu