Forum Discussion

Allan_66523's avatar
Allan_66523
Icon for Nimbostratus rankNimbostratus
Jun 13, 2012

Irule Help

Im hoping you guys can help me out with the writing of an irule. we have a new cname called "website". This site is secure and the f5 is terminating SSL. We need an irule that says if the request is not secure make it secure as well as adding test.com at the end so our *.test.com cert is vaild for this site.

 

 

 

Thanks in advance

 

 

1 Reply

  • Create a virtual server with a http profile, listening on :80, and add the following iRule:

     

     

    when HTTP_REQUEST {

     

    HTTP::redirect https://website.test.com[HTTP::uri]

     

    }