Forum Discussion
thecompguru_206
Nimbostratus
Jun 16, 2015Traffic Redirection
Sorry if this is a very greenhorn question but i'm just getting started with the irules in the F5 and wanted to know what the script would look like for the redirect i'm going for. I want to do a URL...
Stanislas_Piro2
Cumulonimbus
Jun 16, 2015You can try this
when HTTP_REQUEST {
if {([HTTP::host] equals "irule.sample.com") && ([HTTP::uri] equals "/")} {
HTTP::redirect "https://irule.newsample.com/launcher/irule"
}
}
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