Forum Discussion
atultilekar_718
Nimbostratus
Jan 28, 2016HTTP to HTTPS reidrect
VIP:-vip_idp_ilmarinen_net Port:-443
redirect type 301 to https://idp.ilmarinen.net/
if user types http in browser it should be redirected to https so i need to fulfill this request.
Pleas...
Domai
Altostratus
Jan 28, 2016There is an inbuild iRule that you can use to accomplish this. iRule - _sys_https_redirect
========================================================================================== create virtual vip_idp_ilmarinen_net_80 destination 1.1.1.1:80 mask 255.255.255.255
modify virtual vip_idp_ilmarinen_net_80
ip-protocol tcp
profiles replace-all-with { /Common/http }
rules { /Common/_sys_https_redirect }
exit
exit ==========================================================================================
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