Forum Discussion
Thanushka_Wije1
Nimbostratus
Sep 14, 2018multiple uri and url filtering
Hi All
I have a requirement to craft an iRule to allow only specific uri's and url's for specific virtual server with two particular hosts
I have crafted the below irule, but unfortunately ...
Stanislas_Piro2
Cumulonimbus
Sep 14, 2018this one may compile succesfully
when HTTP_REQUEST {
if { not ([HTTP::host] equals "auto.abc.com " || [HTTP::host] equals "auto-alb1.abc.com")} {
switch [HTTP::uri]{
"/auto/auto.svc" - "/auto/auto.svc/security" - "/auto/auto.xml" { drop }
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
