Forum Discussion
esexon_27963
Nimbostratus
Jun 19, 2012Help with IRule
Hello again. I am having issues with my iRule. Running code BIG-IP 10.2.1 Build 297.0 Final iRule --------------------------- ...
esexon_27963
Nimbostratus
Jun 20, 2012This is the rule I have in place.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/cms-admin" } {
If URI matches verify that the Client has access
if { not [class match [IP::client_addr] equals AllowedNetworkList] } {
If they DO Not have access, do this:
HTTP::redirect "/"
}
}
}
No matter what I do it redirects all client addresses back to the / and seems to ignore my AllowedNetworkList.
Pulling my hair out here so would appreciate any feedback
Many thanks,
Evan
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