Need your advise on creating an irule for the below requirement
need to block the following uri cloud.du.ae/cloud/* with an exception if SAML appears in the URI
like lets say cloud.du.ae/cloud/abc/saml should be allowed but all other URI's with /cloud should be blocked
Thanks in advance.
Use a Local Traffic Policy with a First Match strategy.
Create a rule with conditions
hostname is cloud.du.ae
HTTP URI begins with cloud
HTTP URI contains saml
that forwards traffic to the pool
Create a second rule to redirect requests starting with cloud to somewhere else (or drop the request)
Finally add a final default rule that forwards all requests to the pool.
Order your rules so that they match in correct order: