Forum Discussion
Freddy_Delgado_
Nimbostratus
Mar 31, 2014Irule with Multiple URL's
I'm trying to figure out how to configure a simple http redirect irule,
however the irule round robins 4 different URL's, does anyone know how to write this?
VIP 1.1.1.1 -----> www.abc.com
...
Cory_50405
Noctilucent
Mar 31, 2014You can use the standard HTTP to HTTPS iRule that comes pre-installed with LTM, called _sys_https_redirect. It grabs whatever host the client specifies on HTTP and redirects to HTTPS.
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
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