ajemery9_179076
Mar 23, 2015Nimbostratus
HTTPS URI Redirect
I want to be able to redirect HTTPS traffic from specific URI's to certain pool member's, I cant seem to find any information on redirecting HTTPS traffic, any help would be great.
I want to be able to redirect HTTPS traffic from specific URI's to certain pool member's, I cant seem to find any information on redirecting HTTPS traffic, any help would be great.
Check out this post where someone was selecting pool members based on the requested URI.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/uri_1" { pool poolname member 10.10.10.1 443 }
"/uri_2" { pool poolname member 10.10.10.2 443 }
default { pool default_pool_name }
}
}
Keep in mind you must be terminating the SSL connection to be able to see the URI.
there shouldn't be an irule specific for HTTPS (but should/can be the same for HTTP and HTTPS Virtual Servers). The VS is specific for HTTPS (port, client ssl profile). The iRule is then applied to the specific VS.