Forum Discussion
Michel_Lepage_5
Nimbostratus
Sep 06, 2013irule sequence of events
What is the sequence of events.
For example
Does HTTP_REQUEST happen before or after CLIENT_ACCEPTED
I need to allow access to a specific URI only to 2 specific IP addresses
I have thi...
Richard__Harlan
Sep 06, 2013Historic F5 Account
The HTTP event happens after the when Client_accepted. Truth is you can check then at the same time in the when HTTP_REQUEST. Something like below.
when HTTP_REQUEST {
if { ! [[HTTP::uri] euqals "whatever"] && [class match [IP::client_addr] equals "localusers_dg" ] } {
drop
}
}
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