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
...
hoolio
Cirrostratus
May 24, 2010You could also override the pool selection done by an HTTP class if you set the pool in the HTTP_CLASS_SELECTED event.
If there isn't a class matched and no pool has already been specified either in an iRule or on the VIP, you could set one in the HTTP_CLASS_FAILED event which is triggered when no class match is made on a VIP with one or more HTTP classes added.
http://devcentral.f5.com/wiki/default.aspx/iRules/http_class_selected
http://devcentral.f5.com/wiki/default.aspx/iRules/http_class_failed
Aaron
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