Forum Discussion

Tom_Kilday_9259's avatar
Tom_Kilday_9259
Icon for Nimbostratus rankNimbostratus
Nov 04, 2008

https to http

how can I map https traffic back to http?

 

 

The following irule only works for http

 

 

when HTTP_REQUEST {

 

if { [HTTP::host] equals "courses.host.edu" } {

 

HTTP::redirect "http://www.host.edu/academics/courses/myhls.php"

 

}

 

}

4 Replies

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    That would work for HTTPS if you are decrypting the HTTPS with a client SSL profile.

     

     

    Aaron
  • I have applied the rule and the sslprofile to the vip but it still does not redirect back to http system
  • you need a client side ssl profile and I would suggest:

     

     

    when HTTP_REQUEST {

     

    if { [HTTP::host] equals "courses.host.edu" } {

     

    HTTP::respond 301 "Location" "http://www.host.edu/academics/courses/myhls.php"

     

    }

     

    }
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    If you add a log statement do you see the rule being hit? What are the symptoms of the issue? What does the client get? You can get more detail by using a browser plugin like Fiddler for IE or HttpFox for FF.

     

     

    Aaron