Forum Discussion
sniklfriz_12810
Nov 28, 2005Nimbostratus
I'm trying to do a similar function, I want to apply persistance to one pool and not the other. This rule is accepted for proper syntax but it did not work in inital testing. I still need to dig into it. I'm not sure if this is actually a valid rule.
when HTTP_REQUEST {
if { [matchclass [HTTP::uri] starts_with $::static_content] }{
use pool content
} else {persist cookie passive
use pool proxy
}
}