I am a newbie when it comes to load balancing and iRules.
I have a user who wants to the following configured.
Default or main page/site
Site A
https://differentserver.domain.com/siteA
Site B
https://default.domain.com/siteB/logon.html
Pools
Default Pool1.1.1.11.1.1.2 (Port 80)
SiteA Pool2.2.2.22.2.2.3 (Port 80)
SiteB Pool1.1.1.11.1.1.2 (TCP Port 81)
When the uri equals https://default.domain.com
After authenticating, send them to the Default Pool
When the uri equals https://default.domain.com/siteA
After authenticating, send them to pool SiteA Pool, and add /siteA to the end of the uri
When the uri equals https://default.domain.com/siteB
Direct them to pool SiteB Pool, and add /logon/logon.html to the end of the uri and make sure they are directed to TCP port 81
Additional Notes:
*We are terminating client ssl on the load balancer.
*We are not encrypting traffic between the load balancer and the servers.
*In the above case there are two physical servers.
*One server provides HTTP and port 81 (logon) services for the Default and SiteB Pool
*The other server provides services (HTTP) for the https://default.domain.com/siteA requests
I contacted technical support and they suggested using multiple virtual servers. Any assistance/examples/suggestions would be greatly appreciated.
Thanks