Forum Discussion
The_Bhattman
Nov 18, 2009Nimbostratus
Hi Fotios,
You could write up in the following manner using the switch command.
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/products" { pool appliance }
"/products/something" {pool something }
"/products/something/andsomething" { pool andsomething }
}
}
If you need more info then do a search on this site for "SWITCH"
I hope this helps