On the ACE how do I change http://abc.apps to go to http://abc.apps/abc

Unanswered Question
Feb 11th, 2010

I am load balancing the servers ok , at the moment in test environmnet

so client types in http://abc.apps/def  and that goes to the real servers  eg http://realserver/def

what our customer would like is just to go to http://abc.apps  to go to the same location http://realserver/def

how do I do this in the ACE configuration

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
venkatkr Mon, 02/15/2010 - 21:39

You need to be careful that you dont get into a loop.

when the client enter http://abc.apps then it would resolve to an ip. Lets say is the VIP.

ACE gets a match, then you need to perform layer 7 load balancing. If there is no abc, then do a redirect

Created redirect rserver

   rserver redirect abc_redirect
     webhost-redirection http://abc.apps/abc

server for redirect rserver

  serverfarm redirect URL_REDIRECT
  call the rserver

layer 7 match

  class-map type http loadbalance match-any matchurl_abc
    2 match http url /abc

Policy map should look something like this
policy-map type loadbalance http first-match ABC
           class matchurl_abc
             serverfarm x
           class class-default
            serverfarm URL_REDIRECT

Hope this helps




This Discussion