Forum Discussion
Nantu_Mandal_16
Nimbostratus
Oct 15, 2014URL 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
- Vitaliy_Savrans
Nacreous
Hi,
it will help you https://devcentral.f5.com/questions/simple-url-redirect-irule
- Nantu_Mandal_16
Nimbostratus
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 - Vitaliy_Savrans
Nacreous
Hi, you can apply irule to VS
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects