Forum Discussion
Dale_Lindsay_19
Nimbostratus
May 05, 2008New to iRules need a starting point
I'm new to iRules. I need to be able to take a specific url and if it has specific content in the url, send it to a specific server. All over traffic can be load-balanced normally to the two servers...
JRahm
Admin
May 05, 2008This should get you started. Note that the myPool and defaultPool can be the same pool, that depends on your requirements.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "your string here" } {
pool myPool member 10.10.10.10
} else { pool defaultPool }
}
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