Forum Discussion
4 Replies
Sort By
- The_BhattmanNimbostratusHi Erik
when HTTP_REQUEST { if { ([HTTP::host] equals "www.domain.com" ) and ([HTTP:uri] equals "someuri/goeshere") } { switch -glob [HTTP::header "User-Agent"] { "1.x" { pool pool_wap_gateway1 "2.0" { pool pool_wap_gateway2 } "3.0" { pool pool_wap_gateway3 } } }
- hooleylistCirrostratusJust a small note: if the User-Agent header contains the version as part of the string, you'd want to add wildcards to the switch cases:
- Eridano_Di_PietNimbostratusHi,
- hooleylistCirrostratusHi Erik,