Forum Discussion
[undefined procedure: HTTP:uri][HTTP:uri]
iRule Newbie question:
I figured this would be a straight forward attempt to reference a data group on a VIP using multiple hosts but apparently I was wrong, as I keep getting the subject error.
when HTTP_REQUEST { set pool_name [class match -value [string tolower [HTTP:uri]] starts_with datagroup_name] pool $pool_name }
The datagroup formatting is: hostname.name.domain:=poolname
I also tried the datagroup formatting as /hostname.name.domain:=poolname
I'm running 11.3. Appreciate your assistance.
2 Replies
- nitass
Employee
you missed one colon. it is HTTP::uri (not HTTP:uri).
- ravensfan0827_7
Nimbostratus
Holy Cow!! I've been fighting this thing for the last two days...and it was a colon - thank you so much. Guess I can step away from the ledge now! LOL
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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