Forum Discussion
Deb_Allen_18
Mar 20, 2007Historic F5 Account
Assuming that there are several requests in a single Keep-Alive connection (rather than in a single packet), you could disable the HTTP_REQUEST event after the first request is seen, then that pool will be used for the life of the connection:
when HTTP_REQUEST {
if { [HTTP::uri] contains ".gif"} {
pool servers2
} else {
pool servers1
}
event disable
}
(Should have thought of that yesterday, I guess -- sorry!)
HTH
/deb