Ronny_Vanbroec1
Mar 22, 2016Nimbostratus
http_response rewrite per pool on Virtual Server
Hi i'm settibng up a portal on a virtual server with multiple server pools as destinations for multiple applications The portal site contains the portal part and application part which is selected by the URI part in the request
when HTTP_REQUEST {
if { [HTTP::uri] contains "app1" }{
HTTP::uri [string map {"/app1/" "/"} [HTTP::uri]]
pool Pool_Portal_app1
}
if { [HTTP::uri] contains "app2"}{
HTTP::uri [string map {"/app2/" "/"} [HTTP::uri]]
pool Pool_Portal_app2
}
if { [HTTP::uri] contains "app3"}{
HTTP::uri [string map {"/app3/" "/"} [HTTP::uri]]
pool Pool_portal_app3
}
}
but the response in the content uri losses the /app part in the uri
how can this be accomplished ?