Gill_32697
Aug 22, 2016Nimbostratus
Uri scalable redirects
having trouble with irule.i need to add these redirects based on the uri and will likely need y to add a few more so it need to be scalable. Programmers missed the missed the v3/ so Ii need an irule to correct as they add more uri's sites.... ! when HTTP_REQUEST { if { [string tolower [HTTP::uri]] equals {paymentprocessorv3/creditcard.asmx} { HTTP::redirect "https://mysite.zcorp.com/paymentprocessor/creditcard.asmx" } elseif{ [string tolower [HTTP::uri]] equals {paymentprocessorv3/ach.asmx} { HTTP::redirect "https://mysite.zcorp.com/paymentprocessor/ach.asmx" } }
--