Forum Discussion
Tobias_Neumeyer
Nimbostratus
May 25, 2009iRule for designated URI (Path)
Hi,
I think it is not a difficult question, but I did not get it work unfortunately.
Sorry, I'm new with iRule and BigIP.
I'm looking for an iRule with allow acces...
The_Bhattman
Nimbostratus
May 25, 2009Hi Tobias,
Give this a shot
when HTTP_REQUEST {
if {[HTTP::host] eq "myhost.com" } {
if {!([HTTP::path] starts_with "/path1/") or !([HTTP::path] eq "/path2") or !([HTTP::path] starts_with "Path3/path/") } {
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