Forum Discussion
Maneesh_72711
Cirrostratus
yes it is very much possible and you already have thought on the correct lines.
when CLIENT_ACCEPTED {
if { ([class match [IP::client_addr] equals Internal] )}
{
HTTP::respond 301 Location "http://testing.dff.com/tnr";
}
else
{
HTTP::respond 301 Location "http://testing.dff.com/pnr";
}
}
Where you internal would be your internal subnets/IP's they land on /tnr and external world land on /pnr.
Bhajan_Gupta_28
Sep 15, 2017Nimbostratus
Hi Stanislas thanks for your suggestion, yes this iRule would not work. I have just mentioned the comments again for my requirement, can you help me to make a correct iRule.