Forum Discussion
Andrea_Arquint
Nimbostratus
Jun 17, 2013using variable in a switch statement
Hi,
I would like to test a URI which is defined as a variable ($TEST_VAR):
when HTTP_REQUEST {
set TEST_VAR "item"
switch -glob [string tolower [HTTP::path]] {
"/$TEST_VAR/*" {...
Andrea_Arquint
Nimbostratus
Jun 21, 2013hi
I did that. Removed the curly braces as you showed but I could not save the irule within irule editor.
irule editor message: Response is not well-formed XML.
So, Ithink this cannot be done at the moment with irules.
greetins
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