Forum Discussion

f5now_28704's avatar
f5now_28704
Icon for Nimbostratus rankNimbostratus
May 09, 2007

HTTPS to HTTPS redirects?

Hey Guys, Im trying to take traffic that is pointing to

 

https://abc.com

 

https://www.abc.com

 

https://abc.org

 

https://www.abc.org

 

 

and point them to https://www.abc.net/mainpage.aspx

 

 

I already have the generic HTTP redirect for port 80.

 

 

when HTTP_REQUEST {

 

HTTP::redirect "https://www.abc.net/mainpage.aspx"

 

}

 

 

I feel its possible, but havent found it yet.

 

Thanks.

 

2 Replies

  • Hi,

     

     

    Your rule would do exactly that: redirect any request that's made to the VIP to https://www.abc.net/mainpage.aspx. You would need to apply that rule to each HTTPS virtual server that answers for the hosts you listed. You would also need to apply a client SSL profile to decrypt the traffic.

     

     

    Note that if you have one VIP handling traffic for multiple SSL enabled hosts, clients will get a certificate mismatch error because the host name they made the request to doesn't match the name in the SSL cert the VIP presents.

     

     

    Aaron