Forum Discussion
ngmoletsane_156
Nimbostratus
Jul 23, 2015irule to redirect more than one url string to a sorry link.
I am currently redirecting one string, i am nor sure how i should configure the second string of the same url
so when i access home.co.za/hello it should redirect me to an oopps page.
i also want t...
Richard__Harlan
Jul 23, 2015Historic F5 Account
For this I would use a Switch statement
switch [HTTP::uri] {
"/hello" {
HTTP::redirect https://oppspame.co.za.html
}
"/bye" {
HTTP::redirect https://oppspame.co.za.html
}
default {
pool home.co.za-443
}
}
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