zafer
Jun 15, 2009Nimbostratus
Rewrite with pool
Hello
im using this irule but it based on spesific uri how can i do with pool
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/deneme_gui/static_content" } {
set new_uri [string range [HTTP::uri] 26 end]
HTTP::uri $new_uri
HTTP::redirect http://172.16.3.2$new_uri
set rewrite_response 1
} else {
pool http_pool
set rewrite_response 0
}
}
i want replace pool with 172.16.3.2
regards
zafer