Forum Discussion
Mark_Burchard_5
Nimbostratus
Mar 21, 2006iRule to limit access to webserver directory by client IP
Hi all,
First time posting here, and you'll probably laugh and shake your heads at this simple problem, but hopefully I'll learn. I have searched for similar iRules and can't seem to find t...
JRahm
Admin
Mar 22, 2006
when HTTP_REQUEST {
if { ( [ string tolower [HTTP::uri] ] starts_with "/example" ) and ( not ( [ matchclass [IP::client_addr] equals $::IPranges ] ) ) } {
HTTP::redirect "http://host.domain.tld/"
}
}(assumes ::IPranges is defined with your IP ranges)
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
