Forum Discussion

jan_carlin_4038's avatar
jan_carlin_4038
Icon for Nimbostratus rankNimbostratus
Jul 16, 2010

Serving a generated policy file for flash from a back end system

Referring to this forum entry: http://devcentral.f5.com/Default.aspx?tabid=53&afv=topic&aff=5&aft=58338&quoteid=58347 I have a very similar problem in that I need to serve up a socket policy file as well but that file is generated by one of the pool members so I cannot serve it up statically like the iRule in the entry. I must use SSL and tcp requests. I must terminate the SSL on the load balancer. However I cannot start SSL until I have the policy file so I need the initial request to be let all the way thru while SSL is disabled. Subsequent ones should use SSL so it needs to be turned back on again if the payload does not contain the xml snippet at the top entry of this thread. Does anybody have any idea of how I would do this?
  • Hi Jan,

     

    Here is an excellet example in the codeshare that you can modify and use

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/HttpHttpsSingleVirtualServer.html

     

     

    Basically you can run HTTP and HTTPS in a single Virtual server and within the code you can look at integrating the logic from the post that is similar to what you want ( http://devcentral.f5.com/Default.aspx?tabid=53&afv=topic&aff=5&aft=58338&quoteid=58347)

     

     

    I hope this helps

     

     

    Bhattman