Anthony_891
Sep 11, 2013Nimbostratus
Redirect to correct SSL Cert Site
I have a site say it is https://www.xyz.org and I have a certificate for www.xyz.org. I need to redirect requests coming in for https://www.xyz.com to https://www.xyz.org without getting an ssl certificate error. I took an easy approach by using the following but this did not work.
when HTTP_REQUEST { if { [HTTP::host] contains ".com" }{ HTTP::redirect "https://www.xyz.org" } } It gives the certificate error and then if you accept the error and move on it then redirects. I need to do this before it hits the cert.
Is there a way to do that? I have not been successful figuring this one out. Thanks for the assist