Yes I am worried about the infinite loop, either of the options might work for now, but I am worried about the feature, as of now all the 4 applications have a different home page each, and using iRules I can redirect to their respective Homepages, like when a client request for http://app.mysite-ip.com.xx redirect to https://myarea.mysite-ip.com/respectiveHomePage.
I have 2 questions to ask:
1) Will I end up with a lot of iRules to saperate each application from other?
2) Can I have an iRule which will hard code the Host name even though the application is secured after the redirection to https://myarea.mysite-ip.com/respectiveHomePage. For Eg: Client requests access to http://app.mysite-ip.com.aa and gets redirects to https://myarea.mysite-ip.com/HomePage but the client sees it as https://app.mysite-ip.com.aa and not https://myarea.mysite-ip.com/HomePage ??