Forum Discussion
Moe_Jartin
Cirrus
Jan 22, 2010How to match just / uri????
I have the following irule:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
/services* {
pool pool_beta-dev.blah.org_SERVICES
}
...
Moe_Jartin
Cirrus
Jan 25, 2010Aaron,
Thanks for your help!! For whatever reason it would not match on the single backslash and unfortunately I would probably get slapped around if I dink with the VIP again today. I will look at it again tomorrow and try some additional logging. What is the difference between HTTP::uri and HTTP::path? Seem to be the same except with HTTP::path I can actually alter the path rather than just query it.
Thanks,
Joe
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