Pradeep_Siwach_
Jul 17, 2012Nimbostratus
HTTPS Request irule
Hi,
We have VS with SSL client profile and the redirection irule configured for HTTP VS.
Currently the site www.xyz.com or xyz.com get redirected to https://www.xyz.com due to irule configuration on HTTP VS.
However when client request for https://xyz.com the redirection is not happening even though the following irule is configured.
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "xyz.co.in" &&
[TCP::local_port] == 443 } {
HTTP::redirect "https://www.[HTTP::host][HTTP::uri]"
}
}
Kindly help in fixing the issue.
Appreciate your prompt response and support.