Forum Discussion
Emad
Cirrostratus
Nov 26, 2013Allow specific URI from specific IP's in data group
I have data group class which contains IP Address of my network, i have to restrict some URI's to be access only from my network.
i am using this Irule but it is not working for me , earlier i was ab...
Kevin_Stewart
Employee
Nov 26, 2013The forward command isn't working the way you might think it is. Try this:
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] eq "/abc/db" ) or ( [string tolower [HTTP::uri]] eq "/abc/cd" ) } {
if { not ( [class match [IP::client_addr] equals myAddresses] ) } {
reject
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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