Forum Discussion
Jason_40769
Nimbostratus
Aug 09, 2010Subwebsite ACL
We have a subsite that we would like to have an ACL for and im trying to figure out how to do it. The site would be www.mysitename.com/admin and i only want a certain host ip and network to access it...
L4L7_53191
Nimbostratus
Aug 09, 2010Actually, can you try one more thing as well:
when HTTP_REQUEST {
if { ([class match [string tolower [HTTP::uri]] contains subsite]) and !([class match [IP::client_addr] eq allow]) } {
discard }
}
Notice I added parens around your boolean tests in the if statement.
-Matt
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