Forum Discussion
hooleylist
Nov 29, 2006Cirrostratus
You can create a pool containing the server(s) answering for port 8000 (like http_8000_pool) and another for the servers on port 8001, etc.
You could then use a rule to set the pool to http_8000_pool for requests with an HTTP::uri starting with "/searchxpl", etc.
As the client is making requests via HTTPS, you would need to decrypt the SSL using a client SSL profile on the VIP.
A simple example would be:
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/searchxpl"}{
URI started with /searchxpl, send to http_8000_pool
pool http_8000_pool
}
elseif {[HTTP::uri] starts_with "/dimpweb"}{
URI started with /dimpweb, send to http_8001_pool
pool http_8001_pool
}
elseif {[HTTP::uri] starts_with "/platcom"}{
URI started with /platcom, send to http_8002_pool
pool http_8002_pool
}
else {
URI didn't match, take some default action
pool default_pool
}
}
Aaron