restriction
1 TopiciRule assistance based on URI and source address
Hey all! I have an application that currently allows for all users to connect to a java and non java version based on the URI that you browse to. I would like to allow only a specific range of IP addresses to be able to reach the java version, and if you are not coming from that specific range, then I want the users to be forwarded to the non java version. I tried writing an iRule, but I think I am getting caught up with the redirect to the nonjava version. Any assistance would help. when HTTP_REQUEST { if { ([HTTP::uri] contains "/java/version") && ([class match [IP::client_addr] equals JAVA-VERSION-NETS]) } { pool My-Web-Pool } else { HTTP::redirect https://application.com/nonjava/version } } Assistance would be appreciated. thanks you , RKSolved399Views0likes6Comments