Forum Discussion
Jim_Carlberg_98
Nimbostratus
Mar 17, 2009Parsing Traffic by URI
I have have a URI that is www.governor/sir/vote and www.governor/vote. I need to send www.governor/vote to l7-ete-amsi pool. For www.governor/sir/vote, I need to strip out /sir/ and have the URI go to...
hoolio
Cirrostratus
Mar 18, 2009Hi William,
I think you were very close:
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/sir/*" {
HTTP::uri [string map {"/sir/" "/"} [HTTP::uri]]
pool L7-ETE-AMSI-REDIRECT
}
default {
pool l7-ETE-AMSI
}
}
}
Aaron
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
