I am new to this. HTTPS redirect...what am I mising?

I have a https site https://ww2.mysite.com. I need to redirect to the parent site https://www.mysite.com.

I have tried the following.

when HTTP_REQUEST{

HTTP::redirect “https://www.mysite.com”

}

That seems like it should work, but I’m somewhat new to this.

Thanks.

Are you decrypting the client side HTTPS with a client SSL profile? Can you add a log statement to see if the HTTP headers are being parsed after decrypting the client request?

when HTTP_REQUEST{
   log local0. "Received request: [HTTP::uri], redirecting to https://www.mysite.com"
   HTTP::redirect "https://www.mysite.com"
}

Aaron