We have an ACE 4710 and we need to configure it for HTTP URL Load Balancing between two server farms.
balance to Server Farm 2.
Can you give me an example of the match statements that needs to be configured?
class-map type http load balance match-all SF1
match http url http://www.test.com
class-map type http load balance match-all SF2
match http url http://www.test.com/test1
Are these statements correct?
Thanks in advance,
Yes you have to modify the header for the site you are using.
Also the ACE is terminating the HTTPS session between the client and ACE. When it sends traffic to the servers it will be HTTP and therefore the solution I gave you would be fine as the SSL Termination happens before the Layer 7 class-maps are checked and applied.
match layer 4 class-map for HTTPS traffic and IP address
terminate SSL connection
go to policy-map
check layer 7 class-map statement for a first-match
loadbalance to serverfarm when match is found
I would also recommend using SSL-rewrite to handle any HTTP 30x codes that may be generated by the website. Just to be sure.