Forum Discussion
Yann_Desmarest_
May 03, 2016Nacreous
Hello,
This irule should works for you :
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"*/appsite1" { reject }
default { do nothing }
}
}
- Joe_5599_134300May 03, 2016NimbostratusI believe that will still block any uri after www.xyz.com/ I only want to block the subdirectory appsite1. www.xyz.com/app/appsite1
- Yann_Desmarest_May 03, 2016Nacreousjust tested on my own lab the above irule and it works : /test is not rejected and /test/appsite1 respond with a TCP reset.