Sams_88783
Aug 26, 2010Nimbostratus
Help with version 4.x irule
Hello,
I have 2 urls
https://mydomain/baa/init.do
https://mydomain/admin/init.do
And one pool mydomain.
My requirement is from a single soure 10.2.2.4 only allow access to url rest all has to go to or discard.
The Big-IP OS is running 4.5.11
I tried with the following statement
if(client_addr == 10.2.2.4)
{redirect to "" + "/admin" + "/init.do" + http_uri}
else {use pool mydomain}
if(client_addr!= 10.2.2.4)
{redirect to "" + "/baa" + "/init.do" + http_uri}
{use pool mydomain}
else {discard}
}
But its not working.
This is really urgent for me please help.