Forum Discussion
Al_Faller_1969
Nimbostratus
Dec 22, 2005dropping HTTP requests to "other" URIs
Hi All -
I am trying to make an iRule that drops a request that is not destined for any of 4 different directories. Here is what I have so far, which hasn't been working:
when HTTP_REQUEST {
if { not [HTTP::uri] starts_with "/dir1" and
not [HTTP::uri] starts_with "/dir2" and
not [HTTP::uri] starts_with "/dir3" and
not [HTTP::uri] starts_with "/dir4"} {
drop
}
}
What am I doing wrong? Thanks!
Al
11 Replies
- Colin_Walker_12Historic F5 AccountYeah, no one's catching hoolio at this point. Heck, I'm just trying to catch Jason. ;)
Colin
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
