Forum Discussion
aboulleill_3013
Nimbostratus
Oct 09, 2017allow specific subnet to access single URL directory
Dears,
Can some1 help me write the following Irule :
The target of it is let "rackspace" access specific URL while all others can have full access to all URLs including this one
when H...
Lee_Sutcliffe
Nacreous
Oct 09, 2017I'd probably do something like this.. I haven't tested it but should give you some ideas
when HTTP_REQUEST {
set url "https://prodfmw-osb.bm.com.lb/cvs/chn.website.cvs.Account_1.0"
if {[class match [IP::client_addr] equals "rackspace"] } {
if { not [string tolower [HTTP::path]] equals $url} {
drop
}
}
}
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