Sorry Domai My bad. I don't know how URL has been two times added after http::redirect.
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]] starts_with "main.you.com") and ([string tolower [HTTP::uri]] starts_with "/monkey/std/public/v1") } {
HTTP::redirect ";
}
elseif { ([string tolower [HTTP::host]] starts_with "main.you.com") and ([string tolower [HTTP::uri]] starts_with "/monkey/public/v2") } {
HTTP::redirect ";
}
elseif { ([string tolower [HTTP::host]] starts_with "main.you.com") and ([string tolower [HTTP::uri]] starts_with "/monkey/") } {
HTTP::redirect "; }
else { pool main.you.com_pool }
}