Forum Discussion
CraigM_17826
Altocumulus
Feb 17, 2010iRules and HTTP classes
Just a quick one,
Are iRules processed before HTTP classes? I have a situation where I am migrating a lot of iRule based redirects/pools to HTTP classes but I have one situation where one of two pools is to be used under a certain condition and I can't seem to work out how to do that using a HTTP class so I'll probably have to leave it in the iRule. I'm just not sure which get processed first.
tia
Craig
- hoolio
Cirrostratus
Hi Craig, - CraigM_17826
Altocumulus
Hi Aaron,if { [string tolower [HTTP::uri]] contains "/new-services/" } { if { [active_members "New-Services"] > 0 } { pool "new-services" return } else { pool "new-services-down" return } }
- hoolio
Cirrostratus
Hi Craig, - CraigM_17826
Altocumulus
Hi 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