Forum Discussion
John_Nootens_45
Nimbostratus
Mar 08, 2005Help me convert 4.x Rule to 9.x iRule
I built a rule based on everything I could find for examples and documentation in the LTM configuration guide and on devcentral, but I'm not able to get around syntax errors. I'll greatly appreciate ...
Mar 08, 2005
First of all, you don't specify the rule name in the rule itself in the GUI. Second, it looks like there must be a space between the event name and a curly brace. Another thing is that you might want to use the "starts_with" or "contains" operators so you don't incur the overhead of a regular expression search.
Give this a try, it should do the trick...
when CLIENT_ACCEPTED {
if { [HTTP::uri] contains "/psreports"} {
pool PSFT_Reports
} else {
pool people_soft
}
}
-Joe
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