Forum Discussion
Kirit_Patel_521
Nimbostratus
Jul 19, 2015irule syntax error
what is wrong with my syntax here
01070151:3: Rule [/Finance/testsol] error: /Finance/testsol:3: error: [parse error: PARSE syntax 190 {syntax error in expression "([string tolower [HTTP::uri]] sta...
Amit_Grover_171
Nimbostratus
Jul 22, 2015Try this
when HTTP_REQUEST { log local0. "http uri:$uri" set uri [HTTP::uri] if { $uri starts_with "/solr/spruat_slave" } { pool mhf_pool_172.16.250.72-slave } elseif { $uri starts_with "sol" } { pool mhf_pool_172.16.250.72-slave } }
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