Thank you
This is what I got now and it is working better... The problem seems to be that every phone vendor and version of phone has problems, as I change the order I fix one and break another. I will have to keep playing with it however your solution has helped me find a light in the darkness that is the iphone world.
Again thank you for the help.
when HTTP_REQUEST {
switch -glob [HTTP::header User-Agent] {
"*hiptop*" -
"*AvantGo*" -
"*Danger*" {
HTTP::redirect "http://wap.vendor.com/partnergenericURL-D"
return
}
}
switch -glob [HTTP::header Accept] {
"*vnd.wap.xhtml+xml*" -
"*vnd.rim.html*" {
HTTP::redirect "http://wap.vendor.com/partnergenericURL-C"
return
}
}
switch -glob [HTTP::header Accept] {
"*vnd.wap.html*" {
HTTP::redirect "http://wap.vendor.com/partnergenericURL-B"
return
}
}
switch -glob [HTTP::header Accept] {
"*text/vnd.wap.wml*" {
HTTP::redirect "http://wap.vendor.com/partnergenericURL-A"
return
}
}
if { [matchclass [string tolower [HTTP::uri] ] starts_with $::ot_recover] > 0 } {
pool OLD_WEB_POOL
} else {
pool WEB_POOL
}
}