Forum Discussion
Sean_Phillips_1
Nimbostratus
Jul 12, 2013ACL Block by path irule?!?!
I want to reject everything except the 3 listed html files with an irule. Am I right? Will this rule work?
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] { ...
nitass
Employee
Jul 12, 2013you can add asterisk (*) if they are not under root (/).
e.g.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*default.html" -
"*sales.html" -
"*support.html" { return }
default { reject }
}
}
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