Forum Discussion
eliezer_ramos_2
Nimbostratus
Mar 09, 2010How to use uri datagroup to forward to pool
Hi.. first time. I need to know how if doing this correctly. I'm trying to send traffic to a pool based on URI's in a datagroup. This is what I have so far:
datagroup customerservice2 contains /wrap, among other uri that are hosted out of the same pool member. Based on that I wrote this irule. Irule editor says the syntax is correct, but I may not be using the correct arguments/. Plz HELP!
when HTTP_REQUEST {
if {[ matchclass [HTTP::uri] contains $::customer_care] } {
pool p_customercare}
elseif {[ matchclass [HTTP::uri] contains $::dsm] } {
pool t_was_dsm}
elseif {[ matchclass [HTTP::uri] contains $::vendorapps] } {
pool t_vendorapps}
elseif {[ matchclass [HTTP::uri] contains $::pts] } {
pool p_pts}
elseif {[ matchclass [HTTP::uri] contains $::customerservice2 ] } {
pool p_customerservice2}
}
11 Replies
- hmmm... looks like they needed to add a security policy.. they probably added the uri as well to "inappqa6.fpl.com"..
Thanks!
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
