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
Thanks for your response but my requirement is when external users tried to access these two url http://testing.dff.com/tnr http://testing.dff.com/enr
then they get one of holding page which i mentioned in iRule but when internal users tried then they did, means they are able to access these url.