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
}
...
hoolio
Cirrostratus
Jan 25, 2010I'm not sure quotes will make a difference for switch cases:
% switch / {
a { puts "matched A" }
b { puts "matched B" }
/ { puts "matched slash" }
default { puts "no match" }
}
matched slash
Can you add logging to the rule and see which case is actually being matched? If the match is made correctly, but the wrong pool is used, can you add a OneConnect profile to the VIP and retest? For details on this, you can check this page:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/oneconnect.html
Aaron
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