Forum Discussion
Samir
Apr 03, 2020MVP
@Janet, Your Irule is correct but small modification needed to fulfill actual request.
when HTTP_REQUEST {
if { !(([string tolower [HTTP::uri]] starts_with "/abc") or ([string tolower [HTTP::uri]] starts_with "/pqr")) } {
drop
}
}
- Ashu_AggarwalApr 03, 2020Cirrus
This i-rule blocked whole site
- SamirApr 04, 2020MVP
, Thank you so much for feedback. We write the iRule based on your question/assumption. As i believe, you are passing wildcard parameter in "/abe/*" . which may not return proper result. It's is a devcentral tips and modify according to business needs.
Try switch condition or F5 Policy..