Forum Discussion
irule with different pool by URI
Can anyone help me?
I've a viprion system with 10.2.1 code
My problem is that this Irule doesn't work correctly due an error?
when HTTP_REQUEST {
log local0. " l'HOST e' [HTTP::host], l'URI e' [HTTP::uri]"
switch -glob [HTTP::uri] {
"/xmlpserver/*" -
"/analytics/*" -
"/em/*" -
"/analytics-ws/*" -
"/wsm-pm/*" -
"/bimiddleware/*" -
"/mapviewer/*" -
"/ui/*" -
"/rtis/*" -
"/schema/*" -
"/ws/*" -
"/bioffice/*" -
"/biofficeclient/*" -
"/console/*" {
log local0. "CSE - l'URI e' [HTTP::uri], sono dentro al pool-www-obi-v"
pool pool-www-obi-v-7777
persist source_addr 3600
}
default {
log local0. "CSE - l'URI e' [HTTP::uri], sono dentro pool-www2.farm-v"
pool pool-www2.farm-v
persist source_addr 3600
}
}
}
-----------------------------------------------------------------
When I try to connect to the virtual server like http://www.acme.com/xmlpserver/ the irule log show me the correct pool (obi pool) but with the tcpdump I see the packet dispaced on the default pool.
If I put any caracter after the slash like: http://www.acme.com/xmlpserver/xyz the correct pool is engaged.
I've tried to remove the asterisk, the last slash...but I'm not able to resolve this problem
- nitassEmployeehave you deleted persistence record before testing?
- gianluca_gozziNimbostratusYes I've rried to remove the persistence
- gianluca_gozziNimbostratusHi Nitass
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