Forum Discussion
Kirit_Patel_521
Nimbostratus
Mar 26, 2010http to https redirect
I am trying to do the following how can that be achieved using irules
http(S)://renprod.ctb.com will go to http://renprod.ctb.com/ctb.com/control/main
http(S)://renprod.ctb.com/admin go to https://renprod.ctb.com/admin/control/main
Thanks
- hoolio
Cirrostratus
Do you want to redirect http and https / to https://renprod.ctb.com/ctb.com/control/main and /admin to https://renprod.ctb.com/admin/control/main?when HTTP_REQUEST { Check the requested path switch [HTTP::path] { "/" { HTTP::redirect "http://renprod.ctb.com/ctb.com/control/main" } "/admin" { HTTP::redirect "https://renprod.ctb.com/admin/control/main" } default { Take some default action? } } }
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