Forum Discussion
silver
Nimbostratus
Jul 08, 2010Listed URI
Hi,
I need to frame a irule which need to allow only the listed uri, rest needs to be blocked. For some of the uri, specific ip's need to get the access.
ex:
http://www...
Chris_Miller
Altostratus
Jul 08, 2010Posted By silver on 07/08/2010 03:00 AM
Hi Bhatman,
Provided link show only the ip restriction to the specific URI in the datagroup. How about the restriction of URI.
Need to have the single irule achieving both the requirement.
Thanks
In the example to which he linked, you're determining (in the CLIENT_ACCEPTED) event whether the IP of the client is one that allows him to access all resources or if he can only access certain ones. After that determination has been made, you're checking the URI in the HTTP_REQUESTED event. So, your sequence would be like this: 1. User hits your site and their address isn't in the datagroup. 2. Since their address wasn't in the address datagroup, we're checking the URI datagroup to see whether they have access to the URI they requested.
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