Forum Discussion
Koalan
Jun 18, 2020Cirrus
iRule for redirection
Hi, I am not really familiar with iRule, can somebody help me? So the scenario is that a user wants to access a f5 vip which will be redirected to a certain site: user access onboar...
Mayur_Sutare
Jun 18, 2020MVP
Hello ,
You can even achieve your requirement using LTM Policy option. Also you can try below iRule.
when HTTP_REQUEST {
if { [HTTP::host] contains "onboarding.abc.com"}{
if { [HTTP::uri] starts_with "/uk"}{
HTTP::redirect https://ask.service.com/management.do
}
}
}
Hope it works!
Mayur
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