Forum Discussion
Rob_76452
Nimbostratus
Mar 15, 2010brand new please help redirect based on uri
My sys admin is saying this is really simple, you should already be done but I'm lost. My first experience with F5's. I think the request is simple if you know about F5 though. anyways..
...
Rob_76452
Nimbostratus
Mar 16, 2010Hey thank you VERY much!!!! I think I got it working. My tests look good enough to pass back to the sysadmin. Here is what I came up with:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"exchange*" {
log local0. "Matched exchange uri for [HTTP::uri]"
pool tohtca-https
}
"owa*" {
log local0. "Matched owa uri for [HTTP::uri]"
pool tohtca-https
}
default {
log local0.debug "Matched default for [HTTP::uri]"
HTTP::uri "/OWA"
HTTP::uri "[HTTP::uri]OWA"
}
}
}
Thanks again!
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
