Forum Discussion
I rule not working
For some reason everything works except ServiceInstalledBase
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/solutionsorb*" -
"/Servicesorb*" -
"/servicefileprocessor*" { pool pool_STG_domain }
"/ServiceInstalledBase*" -
"/serviceorderbase*" { pool pool_STG_provisioning_domain }
"/partnermaintenance*" -
"/servicesingleview*" -
"/partnermaintenance*" -
"/contentcatalogue*" -
"/msisdnmaintenance*" -
"/ticketing" { pool pool_STG_integration_domain}
}
}
Logs
Aug 14 08:47:13 tmm2 info tmm2[12149]: Rule /Common/CRM : 10.217.80.24:54925 -> 10.217.235.87:80 -> 10.217.80.24:54925 | pool: | URI: /ServiceInstalledBase
Aug 14 08:47:13 tmm3 info tmm3[12150]: Rule /Common/CRM : 10.217.80.24:54931 -> 10.217.235.87:80 -> 10.217.80.24:54931 | pool: | URI: /ServiceInstalledBa
- in principle you can put all your switch statements in lower case as you turn you HTTP::uri to lower anyway, that might be cause of the issue also.
- Michael_YatesNimbostratusHi Angelo,
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/solutionsorb*" - "/servicesorb*" - "/servicefileprocessor*" { pool pool_STG_domain } "/serviceinstalledbase*" - "/serviceorderbase*" { pool pool_STG_provisioning_domain } "/partnermaintenance*" - "/servicesingleview*" - "/partnermaintenance*" - "/contentcatalogue*" - "/msisdnmaintenance*" - "/ticketing" { pool pool_STG_integration_domain} } }
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