Forum Discussion
Koalan
Cirrus
Jun 18, 2020iRule 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...
Samir
MVP
Jun 18, 2020Policy is always a better choice. I agree with 's iRule. Small correction needed; There is no points to add multiple if condition. Find the below iRule, Hope it will work for you.
when HTTP_REQUEST {
if { ([HTTP::host] equals "onboarding.abc.com") && ([HTTP::uri] starts_with "/uk") } {
HTTP::respond 301 Location "https://ask.service.com/management.do"
}
}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
