Forum Discussion
adrian_171483
Cirrus
Jan 12, 2015will this irule work?
Need a rule to do this :
client comes into the VS with "/admin" in the URI.. if they have /admin then want to be redirected to come back with /someother/index in the URI and drop into the ADMI...
Michael_Jenkins
Cirrostratus
Jan 12, 2015In that case, this might work
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::uri]] {
"*/admin*"} {
HTTP::redirect "/someother/index"
return
}
"*/someother/index*" {
pool MY-ADMIN-POOL
}
default {
pool MY-OTHER-POOL
}
}
}
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