Forum Discussion
multiple uri's check within a string
I need an irule that checks for the presence of a set of multiple uri's within a string.
Something like this: If ([HTTP::host] eq aaa.xxx.com) and not (([HTTP::uri] eq "/index.html") or ([HTTP::uri] eq "/image.png") or ([HTTP::uri] eq "/image_341.png") or ([HTTP::uri] eq "/image_3.png") or ([HTTP::uri] eq "/image_6.png")) then HTTP::uri "/index.html
is there a method that is not so complicated? my need is to force users to access only one page (that contains multiple images) of a VS.
- zamroni777Nacreous
you can use gui based traffic policy instead of irules for better managebility and performance:
https://community.f5.com/t5/technical-articles/to-irule-or-not-to-irule-introduction-to-local-traffic-policies/ta-p/279536
https://techdocs.f5.com/en-us/bigip-15-1-0/big-ip-local-traffic-management-getting-started-with-policies/introducing-local-traffic-policies.html#GUID-A3079C71-8E53-4EDF-B568-0A75D646AE44
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com