Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

2 REPLIES
Cisco Employee

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

The only way is to catch the request with a L7 class-map for url "/" and use a redirect rserver to send a redirect to the desire url.

http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA3_1_0/command/reference/realserv.html#wp1019728

Gilles.

Cisco Employee

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

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 2.2.2.2 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

Regards

Venky

389
Views
0
Helpful
2
Replies
CreatePlease to create content