https_443
2 TopicsIrule redirect on 443 VIP domain.com to www.domain.com
I think I must be missing something simple. I have an irule setup on my port 80 vip. This works great. If I request http://domain.com/ it will redirect to https://www.domain.com/ and also if you request http://www.domain.com/ it will redirect to the https://www.domain.com/ I have a 443 VIP setup with a client side SSL profile setup that is working just fine. I want to accomplish a redirect from https://domain.com to https:/www.domain.com. Browsing to domain.com doesn't work because the cert is only for www.domain.com. If I apply to same Irule to the 443 VIP I just get a 404 when trying to hit the site. Here is the Irule Below when HTTP_REQUEST { if { (([HTTP::host] equals "domain.com") or ([HTTP::host] equals "www.domain.com")) } { HTTP::redirect "https://www.domain.com" } }319Views0likes3Commentshttps_443 marking a host as down after 302 response code
Does the https_443 monitor look for error responses (4xx, 5xx) or does it look for a 200 response code? I'm seeing a node marked as down that's returning a 302 redirect, and I'm not sure if the monitor is flagging the 302 as a problem or if there's something else wrong. Thanks!470Views0likes3Comments