Multiple URL Path Allow

Hello, I am trying to set my firewall rules to have 3 endpoints but if I use OR it no longer works. I have this:

(ip.geoip.country in {"T1"}) or (not ip.geoip.country in {"US" "CA" "AU" "AT" "BE" "DK" "EE" "FI" "FR" "DE" "GR" "HK" "IN" "IE" "IT" "JP" "LV" "LT" "LU" "MY" "MX" "NL" "NZ" "NO" "PL" "PT" "SK" "SI" "ES" "SE" "CH" "GB" "BR" "PR"} and not http.request.uri.path contains "checkout")

but I want something like this:

(ip.geoip.country in {"T1"}) or (not ip.geoip.country in {"US" "CA" "AU" "AT" "BE" "DK" "EE" "FI" "FR" "DE" "GR" "HK" "IN" "IE" "IT" "JP" "LV" "LT" "LU" "MY" "MX" "NL" "NZ" "NO" "PL" "PT" "SK" "SI" "ES" "SE" "CH" "GB" "BR" "PR"} and not http.request.uri.path contains "checkout" or "shop" or "submit")

Help please?

not http.request.uri.path contains "checkout" or "shop" or "submit"

This is not a valid syntax.

You either have three individual not contains’ or use not in with the full paths

(not http.request.uri.path in {"/full/path/checkout" "/full/path/shop" "/full/path/submit"})

Also, with just one value you better use (ip.geoip.country eq "T1").

This topic was automatically closed after 14 days. New replies are no longer allowed.