Jim_Carlberg_98
Mar 17, 2009Nimbostratus
Parsing 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 L7-ETE-AMSI-REDIRECT.
when HTTP_REQUEST {
switch -glob [HTTP::uri] {"/sir/*" {HTTP::uri[string map {"/sir/" "/"}
[HTTP::uri]] pool L7-ETE-AMSI-REDIRECT}
default {pool l7-ETE-AMSI}}}
Thanks