Forum Discussion
Jason_40769
Nimbostratus
15 years agoSubwebsite 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
15 years agoActually, 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
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