Forum Discussion
Jason_40769
Nimbostratus
Aug 20, 2010Subsite ACL (Exception)
I have a working irule that blocks access to a subsite of a website based on a IP address. I would however like to add to the rule an exception url. for instance all access is blocked to /admin but ...
Chris_Miller
Altostratus
Aug 21, 2010when HTTP_REQUEST {
if { [class match [string tolower [HTTP::uri]] contains subsite] and !([[string tolower [HTTP::uri]] contains "/admin/upload") and ![class match [IP::addr [IP::client_addr]] eq allow] } {
discard }
}
Should do it.
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
