Forum Discussion
arpydays
Sep 01, 2015Nimbostratus
I'm may have the misunderstood but this will to route to pool prepended with hostname if the uri starts with /tr
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/tr" } {
scan [HTTP::host] {%[^.]} host_pool
pool ${host_pool}tr.domain.com
}
}