Forum Discussion
The_Bhattman
Aug 13, 2009Nimbostratus
Hi Erik
Very possible. The irules that you right up must at the HTTP Headers and see which header would responsible for telling the WAP version.
I.E.
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
}
}
}
Of course this is untested and I wasn't too sure about user-agent being the place where WAP version is contained. However, I think it's going to get you much closer to your goal.
I hope this helps
CB