Forum Discussion
Luke_56105
Nimbostratus
May 21, 2010pool set in irule overidden by httpclass
Hello,
I am try in catch a particular uri and send it to a pool via irule:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/myurl/" } {
pool mypool
...
spark_86682
May 22, 2010Historic F5 Account
You could use the HTTP::class disable command to prevent HTTP class matching from happening, and event disable to prevent any further iRules from firing; you could also specify the HTTP_REQUEST event with that last command to prevent only that event from proceeding further. Note that both of those commands operate on a per-connection basis, not per-request. If you wanted the next HTTP request on the same connection to be treated normally, then you'd need to reenable both of those later in the transaction, perhaps in HTTP_RESPONSE.
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
