Forum Discussion
geffryti_32102
Nimbostratus
Mar 17, 2010how to use data group
Requirements:
1. system for redirecting certain host+uri to a different server (no pools)
2. use data group file to maintain uri-to-server list, so I can keep using the same irule for ot...
L4L7_53191
Nimbostratus
Mar 18, 2010Oops. For got to explain the bracket thing. What specifically was going on was this:
[HTTP::host][HTTP::uri] evaluates those two variables as they're coming in from the request. It'll look something like: 10.8.224.44/dir32/, for example.
Now, that second set of brackets around it: [ [HTTP::host][HTTP::uri] ]
...was actually trying to evaluate the string returned from the inner host and uri variables after they were returned as strings, so it threw that error in your logs. The TCL interpreter tried to run:
[ 10.8.224.44/dir32/ ] as a command, which is invalid.
I hope this makes sense. By simply removing that outer set of brackets the findclass command was able to evaluate your lookup correctly.
-Matt
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