F5 TO LOAD BALANCE TWO DIFFRENT URL'S RUNNING ON THE SAME PORT (URGENT)
How can F5 be configured to load balance two different applications (url's) running on the same server and port.
Almost all scenarios i have seen include have had at least, different ports running both url's.
initially, i thought they were running on separate ports,and configured, http and https redirection for the actual url.e.g, https://smartit.networkershome.com/ux/myitapp/ using an irule like this,
HTTPS REDIRECTION.
when HTTP_REQUEST { if { [HTTP::host] equals "smartit.networkershome.com" && [HTTP::uri] equals "/"} { HTTP::redirect "https://smartit.networkershome.com/ux/smart-it";; } }
and HTTP REDIRECT FOR SAME VS ON PORT 80
when HTTP_REQUEST { if {[HTTP::host] equals "smartit.networkershome.com" } { HTTP::redirect "https://smartit.networkershome.com/ux/smart-it"; } }
And,both redirections are working well for the first url.
However,i deployed the same set of irules for the second url https://myit.networkershome.com/ux/myitapp/ (BOTH HTTPS,HTTP VIRTUAL SERVERS), and none is working.
I requested that the applications guys run the instances on different ports, but they insisted that the Tomcat engine could run both instances on the same port.
Both url's can be seen to work,if one loads in their exact url, but http,and https redirection for both at the same time,just isn't working.
I will be glad to get some help