Forum Discussion
2 Replies
Sort By
- Vijay_ECirrus
Try:
When HTTP_REQUEST { if { ([HTTP::host] eq "justanexample.com") and (not([string tolower [HTTP::uri]] eq "/webaccess")) } { reject } }
- Raj_Bhatia_1778Nimbostratus
when HTTP_REQUEST priority 1 { if {[HTTP::path] starts_with "/webaccess"} { log local0. "[HTTP::path] Allowed.." } else { log local0. "[HTTP::path] not Allowed.." reject } }