Vijay_Krishnan_
Dec 22, 2009Nimbostratus
uri redirection to a virtual server
Hello Mates,
I am trying to create irule with uri mapping. I need to redirect to a virtual server based on the uri. Please see the commands below which I use. For some reason it does not seem to work. Can anyone of you help. It will be greatly appreciated.
when HTTP_REQUEST {
if {[HTTP::uri] contains "/shared/sso"} {HTTP::redirect "http://DAPPEXTVIP11"}
elseif {[HTTP::uri] contains "/cml/ccb"} {HTTP::redirect "http://DAPPEXTVIP1"}
}