Forum Discussion

Carlos_13476's avatar
Carlos_13476
Icon for Nimbostratus rankNimbostratus
Oct 04, 2011

Redirect to SSL in case of VIA field into HTTP Header in the response

Hello all,

 

 

As you can see I am newbie in this forum and first I'd like to say hello to all!

 

 

After my hello I'd like to konw if someone had this problem: I need to read from HTTP Header the value of Via field to redirect to the client HTTP or HTTPS content; do you think is it possible to make using IRules?

 

 

Thank you very much in advance

 

2 Replies

  • You can perform specific actions (including Redirects) based on the information contained within an HTTP::header.

     

     

    Check out the HTTP::header command here: http://devcentral.f5.com/wiki/iRules.HTTP__header.ashx