Forum Discussion
Vijay_E
Aug 31, 2016Cirrus
when HTTP_REQUEST {
if { ([HTTP::host] eq "abc.com") } {
pool abc.com_pool
} else { HTTP::redirect https://[HTTP::host][HTTP::uri] }
}
iRule will be applied on VS:80
The above logic will send http://abc.com/* to abc.com_pool
Everything else: http:/// will be redirected to the HTTPS version
Is this what you are seeking ? If not, provide the logic that you want to execute via iRule.