N_67263
Jun 17, 2014Nimbostratus
help with reference to an iRule creation.
Hi, I need to create an iRule which essentially redirects a https site to another https site but also if there is some URI in the original site this iRule should not take any action.
e.g. redirect https://abc.test.com to https://xyz.test.com. If the request is for https://abc.test.com/support then do not redirect.
Any help? In my case the URI could just be anything, does a "*" work in that case?
This is what I have with me:
when HTTP_REQUEST { if { [HTTP::uri] contains "/*"} {pool abc.test.com} else {HTTP::redirect "https://xyz.test.com"} }
Thanks, Nik.