Micka_61352
Jul 21, 2011Nimbostratus
Redirect traffic to root directory on server pool
Hi there,
Wondering if anyone can help. Will this iRule work. I want to be able to look at URL straing for data and send it to specific pool listening on port 81 once it hits this pool to have it look in the root forward. If these are not met send traffic to a different pool.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/data/" } {
pool IESDWEB_HTTP_81} { "/"
} else {
pool IESDWEB_HTTP
}
}
Regards,
Michael.