Forum Discussion
Irule redirect in F5 LTM
Thanks dojs,
I did something like this and it's working:
when HTTP_REQUEST {
if { [HTTP::path] equals "/ibe/common/advancedCarSearch.do" } {
if { [HTTP::uri] contains "?changeLocale=en_CA" } {
HTTP::respond 301 Location "https://www.test.com/en/travel/car-unavailable.html"
return
}
if { [HTTP::uri] contains "?changeLocale=fr_FR" } {
HTTP::respond 301 Location "https://www.test.com/fr/voyages/voiture-indisponible.html"
}
}
}
thanks for advice.
Igor
- jaikumar_f5Jan 04, 2021
Noctilucent
Please mark the thread closed as solution provided then.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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