Hi Aaron, I will try to explain what I need to accomplish.
I have a total of 4 apps registered to 1 Public IP address, All the 4 apps have a specific homepage, out of the 4 apps I have one app which has its specific home page and also running another application which is determined by its URI.
As of now I have setup a iRule which will look for the HOST and redirect it to its specific homepage. All the 4 HOST's have different names.
What I want to accomplish is, (1) I want to redirect all HTTP request for the 4 apps to HTTPS and (2) as said, one of the 4 apps is also using a different application which is determined by the URI, I want to redirect this application also to HTTPS and also this application runs on one of the nodes where as the others are hosted on 2 nodes and loadbalanced.
the present setup is like this:
1) http://order.asia.com/homepage_asia
2) http://order.asia.com/xyz
3) http://order.aus.com/homepage_aus
4) http://order.amr.com/homepage_amr
5) http://order1.eur.com/homepage_eur
I have setup a iRule to redirect 1,3,4,5 (URL's mentioned above) to its homepage and users who wish to use the application http://order.asia.com/xyz hit it directly.
My Requirement:
I have a single new Zone created with SSL certificate assigned to it
Redirect all HTTP to HTTPS to its specific URI and when I redirect http://order.asia.com/xyz
it should use just one node.
like when a client browse the 4 HTTP URL's he should be redirected to HTTPS URL for example if I browse http://order.asia.com I should get redirected to https://allinone.order.com/homepage_asia and when I hit http://order.asia.com/xyz it should get redirected to https://allinone.order.com/xyz
Thanks & Regards,
Giri