Forum Discussion
clgarland_14508
Nimbostratus
Apr 14, 2010New to irules, need simple uri rule
Just need a simple irule for http requests, if the uri is /test1 use a test1 pool, if the uri is /test2 use test2 pool.
Thanks!!!!
- santosh_81454
Nimbostratus
Hi Clgarland, - clgarland_14508
Nimbostratus
Thank you very much santosh!!!! - The_Bhattman
Nimbostratus
Hi Clgarland,when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/test1" { pool test1 } "/test2" { pool test2 } default { pool default } } }
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