Forum Discussion
eanderson6_2759
Nimbostratus
Apr 02, 2013iRule for blocking access to a specific URL
I need to block access to a URL as follows.
when URL contants "string"
if ip range = 10.0.0.0/8 then permit access
else block access
this is all i could figure out at the mom...
Kevin_Stewart
Employee
Apr 02, 2013So just to clarify, I read your requirement as:
if the URI contains "elmah.axd" and the client IP is NOT in the 10.0.0.0/8 subnet, the drop.
By transition (else):
- if the URI contains "elmah.axd" and the client IP IS in the 10.0.0.0/8 subject, let it through.
- if the URI doesn't contain "elmah.axd" (regardless of client IP subnet) let it through.
Is this correct?
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