Forum Discussion
Wally_Steadman_
Nimbostratus
Jun 25, 2012create IRule in tmsh
Greetings all,
I am trying to create an IRule from the command line in tmsh and running into errors that I am not sure how to correct.
I know there are other tools out there such as I...
naladar_65658
Altostratus
Jun 25, 2012This compiles for me just fine
when HTTP_REQUEST {if {[class match [HTTP::uri] contains this_uri]}{pool my_test_pool_1} else {pool my_test_pool_2}}
You might try removing any extra spaces that you can. Do you have to have the bracket before when and the third bracket at the end? Haven't written an iRule in TMSH. The iRule Editor will become your best friend :)
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
