Was this article helpful?
Hello,
I am facing a challenge in which VS listens on port 80 only. I have two pools (for two different back-end apps, one of the app is secure while the 2nd one is not)--> one pool listens on port 80, the other is on 443.
I created ssl server profile and attached to VS. then by using irule I disabled ssl, only enable it when request has to go to pool_https... however I get : 400 The plain HTTP request was sent to HTTPS port
...pseudo code when CLIENT_ACCEPTED { SSL::disable serverside } when SERVER_CONNECTED { SSL::disable serverside } when HTTP_REQUEST { if {[HTTP::uri] eq "/xxx"} { pool http_pool } if {[HTTP::uri] eq "/yyy"} { SSL::enable serverside pool https_pool } }
any help? thanks in advance.